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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetComment()Any comments associated with the enum or flag.com.google.protobuf.ByteStringgetCommentBytes()Any comments associated with the enum or flag.Resources.ReferencegetName()The name of the enum/flag as a reference.Resources.ReferenceOrBuildergetNameOrBuilder()The name of the enum/flag as a reference.Resources.SourcegetSource()Where the enum/flag item was defined.Resources.SourceOrBuildergetSourceOrBuilder()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.booleanhasSource()Where the enum/flag item was defined.-
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()
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
java.lang.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.
-
-