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

Entry

class Entry : GeneratedMessageV3, 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

Types

Builder


      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

class Builder : Builder<Builder!>, EntryOrBuilder

Properties

ALLOW_NEW_FIELD_NUMBER

static val ALLOW_NEW_FIELD_NUMBER: Int

CONFIG_VALUE_FIELD_NUMBER

static val CONFIG_VALUE_FIELD_NUMBER: Int

ENTRY_ID_FIELD_NUMBER

static val ENTRY_ID_FIELD_NUMBER: Int

NAME_FIELD_NUMBER

static val NAME_FIELD_NUMBER: Int

OVERLAYABLE_FIELD_NUMBER

static val OVERLAYABLE_FIELD_NUMBER: Int

VISIBILITY_FIELD_NUMBER

static val VISIBILITY_FIELD_NUMBER: Int

Functions

equals

fun equals(other: Any?): Boolean

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!

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!

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!>!

getDefaultInstance

static fun getDefaultInstance(): Entry!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Entry!

getDescriptor

static fun getDescriptor(): 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!

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!

getOverlayableOrBuilder


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

fun getOverlayableOrBuilder(): OverlayableOrBuilder!

getParserForType

fun getParserForType(): Parser<Entry!>!

getSerializedSize

fun getSerializedSize(): Int

getUnknownFields

fun getUnknownFields(): UnknownFieldSet!

getVisibility


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

fun getVisibility(): Visibility!

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

hashCode

fun hashCode(): Int

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

newBuilder

static fun newBuilder(): Builder!
static fun newBuilder(prototype: Entry!): Builder!

newBuilderForType

fun newBuilderForType(): Builder!
fun newBuilderForType(parent: BuilderParent!): Builder!

newInstance

fun newInstance(unused: UnusedPrivateParameter!): Any!

parseDelimitedFrom

static fun parseDelimitedFrom(input: InputStream!): Entry!
static fun parseDelimitedFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Entry!

parseFrom

static fun parseFrom(data: ByteBuffer!): Entry!
static fun parseFrom(data: ByteBuffer!, extensionRegistry: ExtensionRegistryLite!): Entry!
static fun parseFrom(data: ByteString!): Entry!
static fun parseFrom(data: ByteString!, extensionRegistry: ExtensionRegistryLite!): Entry!
static fun parseFrom(data: ByteArray!): Entry!
static fun parseFrom(data: ByteArray!, extensionRegistry: ExtensionRegistryLite!): Entry!
static fun parseFrom(input: InputStream!): Entry!
static fun parseFrom(input: InputStream!, extensionRegistry: ExtensionRegistryLite!): Entry!
static fun parseFrom(input: CodedInputStream!): Entry!
static fun parseFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Entry!

parser

static fun parser(): Parser<Entry!>!

toBuilder

fun toBuilder(): Builder!

writeTo

fun writeTo(output: CodedOutputStream!): Unit