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
Modifier and TypeMethodDescriptiongetEntry(int index) The entries defined for this type.intThe entries defined for this type.The entries defined for this type.getEntryOrBuilder(int index) The entries defined for this type.List<? extends Resources.EntryOrBuilder>The entries defined for this type.getName()The name of the type.com.google.protobuf.ByteStringThe name of the type.The ID of the type.The ID of the type.booleanThe ID of the type.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
-
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
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
List<Resources.Entry> getEntryList()The entries defined for this type.
repeated .aapt.pb.Entry entry = 3; -
getEntry
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
List<? extends Resources.EntryOrBuilder> getEntryOrBuilderList()The entries defined for this type.
repeated .aapt.pb.Entry entry = 3; -
getEntryOrBuilder
The entries defined for this type.
repeated .aapt.pb.Entry entry = 3;
-