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
Modifier and TypeMethodDescriptionAny comment associated with the declaration.com.google.protobuf.ByteStringAny comment associated with the declaration.intThe index into overlayable list that points to the <overlayable> tag that contains this <item>.getPolicy(int index) The policy defined by the enclosing <policy> tag of this <item>.intThe policy defined by the enclosing <policy> tag of this <item>.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>.The policy defined by the enclosing <policy> tag of this <item>.The location of the <item> declaration in source.The location of the <item> declaration in source.booleanThe location of the <item> declaration in source.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
-
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
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
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
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
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.
-