Package com.android.aapt
Interface Resources.TypeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resources.Type,Resources.Type.Builder
- Enclosing class:
- Resources
public static interface Resources.TypeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Resources.EntrygetEntry(int index)The entries defined for this type.intgetEntryCount()The entries defined for this type.java.util.List<Resources.Entry>getEntryList()The entries defined for this type.Resources.EntryOrBuildergetEntryOrBuilder(int index)The entries defined for this type.java.util.List<? extends Resources.EntryOrBuilder>getEntryOrBuilderList()The entries defined for this type.java.lang.StringgetName()The name of the type.com.google.protobuf.ByteStringgetNameBytes()The name of the type.Resources.TypeIdgetTypeId()The ID of the type.Resources.TypeIdOrBuildergetTypeIdOrBuilder()The ID of the type.booleanhasTypeId()The ID of the type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasTypeId
boolean hasTypeId()
The ID of the type. This may not be set if no ID was assigned.
.aapt.pb.TypeId type_id = 1;- Returns:
- Whether the typeId field is set.
-
getTypeId
Resources.TypeId getTypeId()
The ID of the type. This may not be set if no ID was assigned.
.aapt.pb.TypeId type_id = 1;- Returns:
- The typeId.
-
getTypeIdOrBuilder
Resources.TypeIdOrBuilder getTypeIdOrBuilder()
The ID of the type. This may not be set if no ID was assigned.
.aapt.pb.TypeId type_id = 1;
-
getName
java.lang.String getName()
The name of the type. This corresponds to the 'type' part of a full resource name of the form package:type/entry. The set of legal type names is listed in Resource.cpp.
string name = 2;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of the type. This corresponds to the 'type' part of a full resource name of the form package:type/entry. The set of legal type names is listed in Resource.cpp.
string name = 2;- Returns:
- The bytes for name.
-
getEntryList
java.util.List<Resources.Entry> getEntryList()
The entries defined for this type.
repeated .aapt.pb.Entry entry = 3;
-
getEntry
Resources.Entry getEntry(int index)
The entries defined for this type.
repeated .aapt.pb.Entry entry = 3;
-
getEntryCount
int getEntryCount()
The entries defined for this type.
repeated .aapt.pb.Entry entry = 3;
-
getEntryOrBuilderList
java.util.List<? extends Resources.EntryOrBuilder> getEntryOrBuilderList()
The entries defined for this type.
repeated .aapt.pb.Entry entry = 3;
-
getEntryOrBuilder
Resources.EntryOrBuilder getEntryOrBuilder(int index)
The entries defined for this type.
repeated .aapt.pb.Entry entry = 3;
-
-