Package com.android.aapt
Interface Resources.Styleable.EntryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Styleable.Entry,Resources.Styleable.Entry.Builder
- Enclosing class:
- Resources.Styleable
public static interface Resources.Styleable.EntryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttr()The reference to the attribute.The reference to the attribute.Any comments associated with the declaration.com.google.protobuf.ByteStringAny comments associated with the declaration.Where the attribute was defined within the <declare-styleable> block.Where the attribute was defined within the <declare-styleable> block.booleanhasAttr()The reference to the attribute.booleanWhere the attribute was defined within the <declare-styleable> block.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()Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;- Returns:
- Whether the source field is set.
-
getSource
Resources.Source getSource()Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourceOrBuilder getSourceOrBuilder()Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1; -
getComment
String getComment()Any comments associated with the declaration.
string comment = 2;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()Any comments associated with the declaration.
string comment = 2;- Returns:
- The bytes for comment.
-
hasAttr
boolean hasAttr()The reference to the attribute.
.aapt.pb.Reference attr = 3;- Returns:
- Whether the attr field is set.
-
getAttr
Resources.Reference getAttr()The reference to the attribute.
.aapt.pb.Reference attr = 3;- Returns:
- The attr.
-
getAttrOrBuilder
Resources.ReferenceOrBuilder getAttrOrBuilder()The reference to the attribute.
.aapt.pb.Reference attr = 3;
-