Package com.android.aapt
Interface Resources.EntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Entry,Resources.Entry.Builder
- Enclosing class:
- Resources
public static interface Resources.EntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionWhether this resource, when originating from a compile-time overlay, is allowed to NOT overlay any existing resources.Whether this resource, when originating from a compile-time overlay, is allowed to NOT overlay any existing resources.getConfigValue(int index) The set of values defined for this entry, each corresponding to a different configuration/variant.intThe set of values defined for this entry, each corresponding to a different configuration/variant.The set of values defined for this entry, each corresponding to a different configuration/variant.getConfigValueOrBuilder(int index) The set of values defined for this entry, each corresponding to a different configuration/variant.List<? extends Resources.ConfigValueOrBuilder>The set of values defined for this entry, each corresponding to a different configuration/variant.The ID of this entry.The ID of this entry.getName()The name of this entry.com.google.protobuf.ByteStringThe name of this entry.Whether this resource can be overlaid by a runtime resource overlay (RRO).Whether this resource can be overlaid by a runtime resource overlay (RRO).The staged resource ID of this finalized resource.The staged resource ID of this finalized resource.The visibility of this entry (public, private, undefined).The visibility of this entry (public, private, undefined).booleanWhether this resource, when originating from a compile-time overlay, is allowed to NOT overlay any existing resources.booleanThe ID of this entry.booleanWhether this resource can be overlaid by a runtime resource overlay (RRO).booleanThe staged resource ID of this finalized resource.booleanThe visibility of this entry (public, private, undefined).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasEntryId
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;- Returns:
- Whether the entryId field is set.
-
getEntryId
Resources.EntryId 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;- Returns:
- The entryId.
-
getEntryIdOrBuilder
Resources.EntryIdOrBuilder 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; -
getName
String 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;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString 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;- Returns:
- The bytes for name.
-
hasVisibility
boolean hasVisibility()The visibility of this entry (public, private, undefined).
.aapt.pb.Visibility visibility = 3;- Returns:
- Whether the visibility field is set.
-
getVisibility
Resources.Visibility getVisibility()The visibility of this entry (public, private, undefined).
.aapt.pb.Visibility visibility = 3;- Returns:
- The visibility.
-
getVisibilityOrBuilder
Resources.VisibilityOrBuilder getVisibilityOrBuilder()The visibility of this entry (public, private, undefined).
.aapt.pb.Visibility visibility = 3; -
hasAllowNew
boolean 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;- Returns:
- Whether the allowNew field is set.
-
getAllowNew
Resources.AllowNew 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;- Returns:
- The allowNew.
-
getAllowNewOrBuilder
Resources.AllowNewOrBuilder 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; -
hasOverlayableItem
boolean hasOverlayableItem()Whether this resource can be overlaid by a runtime resource overlay (RRO).
.aapt.pb.OverlayableItem overlayable_item = 5;- Returns:
- Whether the overlayableItem field is set.
-
getOverlayableItem
Resources.OverlayableItem getOverlayableItem()Whether this resource can be overlaid by a runtime resource overlay (RRO).
.aapt.pb.OverlayableItem overlayable_item = 5;- Returns:
- The overlayableItem.
-
getOverlayableItemOrBuilder
Resources.OverlayableItemOrBuilder getOverlayableItemOrBuilder()Whether this resource can be overlaid by a runtime resource overlay (RRO).
.aapt.pb.OverlayableItem overlayable_item = 5; -
getConfigValueList
List<Resources.ConfigValue> getConfigValueList()The set of values defined for this entry, each corresponding to a different configuration/variant.
repeated .aapt.pb.ConfigValue config_value = 6; -
getConfigValue
The set of values defined for this entry, each corresponding to a different configuration/variant.
repeated .aapt.pb.ConfigValue config_value = 6; -
getConfigValueCount
int getConfigValueCount()The set of values defined for this entry, each corresponding to a different configuration/variant.
repeated .aapt.pb.ConfigValue config_value = 6; -
getConfigValueOrBuilderList
List<? extends Resources.ConfigValueOrBuilder> getConfigValueOrBuilderList()The set of values defined for this entry, each corresponding to a different configuration/variant.
repeated .aapt.pb.ConfigValue config_value = 6; -
getConfigValueOrBuilder
The set of values defined for this entry, each corresponding to a different configuration/variant.
repeated .aapt.pb.ConfigValue config_value = 6; -
hasStagedId
boolean hasStagedId()The staged resource ID of this finalized resource.
.aapt.pb.StagedId staged_id = 7;- Returns:
- Whether the stagedId field is set.
-
getStagedId
Resources.StagedId getStagedId()The staged resource ID of this finalized resource.
.aapt.pb.StagedId staged_id = 7;- Returns:
- The stagedId.
-
getStagedIdOrBuilder
Resources.StagedIdOrBuilder getStagedIdOrBuilder()The staged resource ID of this finalized resource.
.aapt.pb.StagedId staged_id = 7;
-