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

Builder

class Builder : Builder<Builder!>, EntryOrBuilder


      An entry declaration. An entry has a full resource ID that is the combination of package ID,
      type ID, and its own entry ID. An entry on its own has no value, but values are defined for
      various configurations/variants.
      
Protobuf type aapt.pb.Entry

Functions

addAllConfigValue


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun addAllConfigValue(values: MutableIterable<ConfigValue!>!): Builder!

addConfigValue


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun addConfigValue(value: ConfigValue!): Builder!
fun addConfigValue(index: Int, value: ConfigValue!): Builder!
fun addConfigValue(builderForValue: Builder!): Builder!
fun addConfigValue(index: Int, builderForValue: Builder!): Builder!

addConfigValueBuilder


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun addConfigValueBuilder(): Builder!
fun addConfigValueBuilder(index: Int): Builder!

addRepeatedField

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

build

fun build(): Entry!

buildPartial

fun buildPartial(): Entry!

clear

fun clear(): Builder!

clearAllowNew


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun clearAllowNew(): Builder!

clearConfigValue


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun clearConfigValue(): Builder!

clearEntryId


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun clearEntryId(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearName


        The name of this entry. This corresponds to the 'entry' part of a full resource name of the
        form package:type/entry.
        
string name = 2;

fun clearName(): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clearOverlayable


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun clearOverlayable(): Builder!

clearVisibility


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun clearVisibility(): Builder!

clone

fun clone(): Builder!

getAllowNew


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun getAllowNew(): AllowNew!

getAllowNewBuilder


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun getAllowNewBuilder(): Builder!

getAllowNewOrBuilder


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun getAllowNewOrBuilder(): AllowNewOrBuilder!

getConfigValue


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValue(index: Int): ConfigValue!

getConfigValueBuilder


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValueBuilder(index: Int): Builder!

getConfigValueBuilderList


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValueBuilderList(): MutableList<Builder!>!

getConfigValueCount


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValueCount(): Int

getConfigValueList


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValueList(): MutableList<ConfigValue!>!

getConfigValueOrBuilder


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValueOrBuilder(index: Int): ConfigValueOrBuilder!

getConfigValueOrBuilderList


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun getConfigValueOrBuilderList(): MutableList<out ConfigValueOrBuilder!>!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Entry!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getEntryId


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun getEntryId(): EntryId!

getEntryIdBuilder


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun getEntryIdBuilder(): Builder!

getEntryIdOrBuilder


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun getEntryIdOrBuilder(): EntryIdOrBuilder!

getName


        The name of this entry. This corresponds to the 'entry' part of a full resource name of the
        form package:type/entry.
        
string name = 2;

fun getName(): String!

getNameBytes


        The name of this entry. This corresponds to the 'entry' part of a full resource name of the
        form package:type/entry.
        
string name = 2;

fun getNameBytes(): ByteString!

getOverlayable


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun getOverlayable(): Overlayable!

getOverlayableBuilder


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun getOverlayableBuilder(): Builder!

getOverlayableOrBuilder


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun getOverlayableOrBuilder(): OverlayableOrBuilder!

getVisibility


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun getVisibility(): Visibility!

getVisibilityBuilder


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun getVisibilityBuilder(): Builder!

getVisibilityOrBuilder


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun getVisibilityOrBuilder(): VisibilityOrBuilder!

hasAllowNew


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun hasAllowNew(): Boolean

hasEntryId


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun hasEntryId(): Boolean

hasOverlayable


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun hasOverlayable(): Boolean

hasVisibility


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun hasVisibility(): Boolean

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeAllowNew


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun mergeAllowNew(value: AllowNew!): Builder!

mergeEntryId


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun mergeEntryId(value: EntryId!): Builder!

mergeFrom

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

mergeOverlayable


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun mergeOverlayable(value: Overlayable!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

mergeVisibility


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun mergeVisibility(value: Visibility!): Builder!

removeConfigValue


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun removeConfigValue(index: Int): Builder!

setAllowNew


        Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay
        any existing resources.
        
.aapt.pb.AllowNew allow_new = 4;

fun setAllowNew(value: AllowNew!): Builder!
fun setAllowNew(builderForValue: Builder!): Builder!

setConfigValue


        The set of values defined for this entry, each corresponding to a different
        configuration/variant.
        
repeated .aapt.pb.ConfigValue config_value = 6;

fun setConfigValue(index: Int, value: ConfigValue!): Builder!
fun setConfigValue(index: Int, builderForValue: Builder!): Builder!

setEntryId


        The ID of this entry. Together with the package ID and type ID, this forms a full resource ID
        of the form 0xPPTTEEEE, where PP is the package ID, TT is the type ID, and EEEE is the entry
        ID.
        This may not be set if no ID was assigned.
        
.aapt.pb.EntryId entry_id = 1;

fun setEntryId(value: EntryId!): Builder!
fun setEntryId(builderForValue: Builder!): Builder!

setField

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

setName


        The name of this entry. This corresponds to the 'entry' part of a full resource name of the
        form package:type/entry.
        
string name = 2;

fun setName(value: String!): Builder!

setNameBytes


        The name of this entry. This corresponds to the 'entry' part of a full resource name of the
        form package:type/entry.
        
string name = 2;

fun setNameBytes(value: ByteString!): Builder!

setOverlayable


        Whether this resource can be overlaid by a runtime resource overlay (RRO).
        
.aapt.pb.Overlayable overlayable = 5;

fun setOverlayable(value: Overlayable!): Builder!
fun setOverlayable(builderForValue: Builder!): Builder!

setRepeatedField

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

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!

setVisibility


        The visibility of this entry (public, private, undefined).
        
.aapt.pb.Visibility visibility = 3;

fun setVisibility(value: Visibility!): Builder!
fun setVisibility(builderForValue: Builder!): Builder!