Package com.android.aapt
Interface Resources.Attribute.SymbolOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Attribute.Symbol,Resources.Attribute.Symbol.Builder
- Enclosing class:
- Resources.Attribute
public static interface Resources.Attribute.SymbolOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionAny comments associated with the enum or flag.com.google.protobuf.ByteStringAny comments associated with the enum or flag.getName()The name of the enum/flag as a reference.The name of the enum/flag as a reference.Where the enum/flag item was defined.Where the enum/flag item was defined.intgetType()The data type of the enum/flag as defined in android::Res_value.intgetValue()The value of the enum/flag.booleanhasName()The name of the enum/flag as a reference.booleanWhere the enum/flag item was defined.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 enum/flag item was defined.
.aapt.pb.Source source = 1;- Returns:
- Whether the source field is set.
-
getSource
Resources.Source getSource()Where the enum/flag item was defined.
.aapt.pb.Source source = 1;- Returns:
- The source.
-
getSourceOrBuilder
Resources.SourceOrBuilder getSourceOrBuilder()Where the enum/flag item was defined.
.aapt.pb.Source source = 1; -
getComment
String getComment()Any comments associated with the enum or flag.
string comment = 2;- Returns:
- The comment.
-
getCommentBytes
com.google.protobuf.ByteString getCommentBytes()Any comments associated with the enum or flag.
string comment = 2;- Returns:
- The bytes for comment.
-
hasName
boolean hasName()The name of the enum/flag as a reference. Enums/flag items are generated as ID resource values.
.aapt.pb.Reference name = 3;- Returns:
- Whether the name field is set.
-
getName
Resources.Reference getName()The name of the enum/flag as a reference. Enums/flag items are generated as ID resource values.
.aapt.pb.Reference name = 3;- Returns:
- The name.
-
getNameOrBuilder
Resources.ReferenceOrBuilder getNameOrBuilder()The name of the enum/flag as a reference. Enums/flag items are generated as ID resource values.
.aapt.pb.Reference name = 3; -
getValue
int getValue()The value of the enum/flag.
uint32 value = 4;- Returns:
- The value.
-
getType
int getType()The data type of the enum/flag as defined in android::Res_value.
uint32 type = 5;- Returns:
- The type.
-