Package com.android.aapt
Interface Resources.OverlayableItemOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.OverlayableItem,Resources.OverlayableItem.Builder
- Enclosing class:
- Resources
public static interface Resources.OverlayableItemOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetComment()Any comment associated with the declaration.com.google.protobuf.ByteStringgetCommentBytes()Any comment associated with the declaration.intgetOverlayableIdx()The index into overlayable list that points to the <overlayable> tag that contains this <item>.Resources.OverlayableItem.PolicygetPolicy(int index)The policy defined by the enclosing <policy> tag of this <item>.intgetPolicyCount()The policy defined by the enclosing <policy> tag of this <item>.java.util.List<Resources.OverlayableItem.Policy>getPolicyList()The policy defined by the enclosing <policy> tag of this <item>.intgetPolicyValue(int index)The policy defined by the enclosing <policy> tag of this <item>.java.util.List<java.lang.Integer>getPolicyValueList()The policy defined by the enclosing <policy> tag of this <item>.Resources.SourcegetSource()The location of the <item> declaration in source.Resources.SourceOrBuildergetSourceOrBuilder()The location of the <item> declaration in source.booleanhasSource()The location of the <item> declaration in source.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSource
boolean hasSource()
The location of the <item> declaration in source.
.aapt.pb.Source source = 1;- Returns:
- Whether the source field is set.
-
getSource
Resources.Source getSource()
The location of the <item> declaration in source.
.aapt.pb.Source source = 1;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourceOrBuilder getSourceOrBuilder()
The location of the <item> declaration in source.
.aapt.pb.Source source = 1;
-
getComment
java.lang.String getComment()
Any comment associated with the declaration.
string comment = 2;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()
Any comment associated with the declaration.
string comment = 2;- Returns:
- The bytes for comment.
-
getPolicyList
java.util.List<Resources.OverlayableItem.Policy> getPolicyList()
The policy defined by the enclosing <policy> tag of this <item>.
repeated .aapt.pb.OverlayableItem.Policy policy = 3;- Returns:
- A list containing the policy.
-
getPolicyCount
int getPolicyCount()
The policy defined by the enclosing <policy> tag of this <item>.
repeated .aapt.pb.OverlayableItem.Policy policy = 3;- Returns:
- The count of policy.
-
getPolicy
Resources.OverlayableItem.Policy getPolicy(int index)
The policy defined by the enclosing <policy> tag of this <item>.
repeated .aapt.pb.OverlayableItem.Policy policy = 3;- Parameters:
index- The index of the element to return.- Returns:
- The policy at the given index.
-
getPolicyValueList
java.util.List<java.lang.Integer> getPolicyValueList()
The policy defined by the enclosing <policy> tag of this <item>.
repeated .aapt.pb.OverlayableItem.Policy policy = 3;- Returns:
- A list containing the enum numeric values on the wire for policy.
-
getPolicyValue
int getPolicyValue(int index)
The policy defined by the enclosing <policy> tag of this <item>.
repeated .aapt.pb.OverlayableItem.Policy policy = 3;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of policy at the given index.
-
getOverlayableIdx
int getOverlayableIdx()
The index into overlayable list that points to the <overlayable> tag that contains this <item>.
uint32 overlayable_idx = 4;- Returns:
- The overlayableIdx.
-
-