Package com.android.aapt
Class Resources.ResourceTable
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.android.aapt.Resources.ResourceTable
- All Implemented Interfaces:
Resources.ResourceTableOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- Resources
public static final class Resources.ResourceTable
extends com.google.protobuf.GeneratedMessageV3
implements Resources.ResourceTableOrBuilder
Top level message representing a resource table.Protobuf type
aapt.pb.ResourceTable- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classTop level message representing a resource table.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic Resources.ResourceTablestatic final com.google.protobuf.Descriptors.DescriptorgetDynamicRefTable(int index) repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;intrepeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;getDynamicRefTableOrBuilder(int index) repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;List<? extends Resources.DynamicRefTableOrBuilder>repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;getOverlayable(int index) The <overlayable> declarations within the resource table.intThe <overlayable> declarations within the resource table.The <overlayable> declarations within the resource table.getOverlayableOrBuilder(int index) The <overlayable> declarations within the resource table.List<? extends Resources.OverlayableOrBuilder>The <overlayable> declarations within the resource table.getPackage(int index) Resource definitions corresponding to an Android package.intResource definitions corresponding to an Android package.Resource definitions corresponding to an Android package.getPackageOrBuilder(int index) Resource definitions corresponding to an Android package.List<? extends Resources.PackageOrBuilder>Resource definitions corresponding to an Android package.com.google.protobuf.Parser<Resources.ResourceTable>intThe string pool containing source paths referenced throughout the resource table.The string pool containing source paths referenced throughout the resource table.getToolFingerprint(int index) The version fingerprints of the tools that built the resource table.intThe version fingerprints of the tools that built the resource table.The version fingerprints of the tools that built the resource table.getToolFingerprintOrBuilder(int index) The version fingerprints of the tools that built the resource table.List<? extends Resources.ToolFingerprintOrBuilder>The version fingerprints of the tools that built the resource table.inthashCode()booleanThe string pool containing source paths referenced throughout the resource table.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleannewBuilder(Resources.ResourceTable prototype) protected Resources.ResourceTable.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Resources.ResourceTableparseDelimitedFrom(InputStream input) static Resources.ResourceTableparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.ResourceTableparseFrom(byte[] data) static Resources.ResourceTableparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.ResourceTableparseFrom(com.google.protobuf.ByteString data) static Resources.ResourceTableparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.ResourceTableparseFrom(com.google.protobuf.CodedInputStream input) static Resources.ResourceTableparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.ResourceTableparseFrom(InputStream input) static Resources.ResourceTableparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.ResourceTableparseFrom(ByteBuffer data) static Resources.ResourceTableparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Resources.ResourceTable>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
SOURCE_POOL_FIELD_NUMBER
public static final int SOURCE_POOL_FIELD_NUMBER- See Also:
-
PACKAGE_FIELD_NUMBER
public static final int PACKAGE_FIELD_NUMBER- See Also:
-
OVERLAYABLE_FIELD_NUMBER
public static final int OVERLAYABLE_FIELD_NUMBER- See Also:
-
TOOL_FINGERPRINT_FIELD_NUMBER
public static final int TOOL_FINGERPRINT_FIELD_NUMBER- See Also:
-
DYNAMIC_REF_TABLE_FIELD_NUMBER
public static final int DYNAMIC_REF_TABLE_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasSourcePool
public boolean hasSourcePool()The string pool containing source paths referenced throughout the resource table. This does not end up in the final binary ARSC file.
.aapt.pb.StringPool source_pool = 1;- Specified by:
hasSourcePoolin interfaceResources.ResourceTableOrBuilder- Returns:
- Whether the sourcePool field is set.
-
getSourcePool
The string pool containing source paths referenced throughout the resource table. This does not end up in the final binary ARSC file.
.aapt.pb.StringPool source_pool = 1;- Specified by:
getSourcePoolin interfaceResources.ResourceTableOrBuilder- Returns:
- The sourcePool.
-
getSourcePoolOrBuilder
The string pool containing source paths referenced throughout the resource table. This does not end up in the final binary ARSC file.
.aapt.pb.StringPool source_pool = 1;- Specified by:
getSourcePoolOrBuilderin interfaceResources.ResourceTableOrBuilder
-
getPackageList
Resource definitions corresponding to an Android package.
repeated .aapt.pb.Package package = 2;- Specified by:
getPackageListin interfaceResources.ResourceTableOrBuilder
-
getPackageOrBuilderList
Resource definitions corresponding to an Android package.
repeated .aapt.pb.Package package = 2;- Specified by:
getPackageOrBuilderListin interfaceResources.ResourceTableOrBuilder
-
getPackageCount
public int getPackageCount()Resource definitions corresponding to an Android package.
repeated .aapt.pb.Package package = 2;- Specified by:
getPackageCountin interfaceResources.ResourceTableOrBuilder
-
getPackage
Resource definitions corresponding to an Android package.
repeated .aapt.pb.Package package = 2;- Specified by:
getPackagein interfaceResources.ResourceTableOrBuilder
-
getPackageOrBuilder
Resource definitions corresponding to an Android package.
repeated .aapt.pb.Package package = 2;- Specified by:
getPackageOrBuilderin interfaceResources.ResourceTableOrBuilder
-
getOverlayableList
The <overlayable> declarations within the resource table.
repeated .aapt.pb.Overlayable overlayable = 3;- Specified by:
getOverlayableListin interfaceResources.ResourceTableOrBuilder
-
getOverlayableOrBuilderList
The <overlayable> declarations within the resource table.
repeated .aapt.pb.Overlayable overlayable = 3;- Specified by:
getOverlayableOrBuilderListin interfaceResources.ResourceTableOrBuilder
-
getOverlayableCount
public int getOverlayableCount()The <overlayable> declarations within the resource table.
repeated .aapt.pb.Overlayable overlayable = 3;- Specified by:
getOverlayableCountin interfaceResources.ResourceTableOrBuilder
-
getOverlayable
The <overlayable> declarations within the resource table.
repeated .aapt.pb.Overlayable overlayable = 3;- Specified by:
getOverlayablein interfaceResources.ResourceTableOrBuilder
-
getOverlayableOrBuilder
The <overlayable> declarations within the resource table.
repeated .aapt.pb.Overlayable overlayable = 3;- Specified by:
getOverlayableOrBuilderin interfaceResources.ResourceTableOrBuilder
-
getToolFingerprintList
The version fingerprints of the tools that built the resource table.
repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;- Specified by:
getToolFingerprintListin interfaceResources.ResourceTableOrBuilder
-
getToolFingerprintOrBuilderList
The version fingerprints of the tools that built the resource table.
repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;- Specified by:
getToolFingerprintOrBuilderListin interfaceResources.ResourceTableOrBuilder
-
getToolFingerprintCount
public int getToolFingerprintCount()The version fingerprints of the tools that built the resource table.
repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;- Specified by:
getToolFingerprintCountin interfaceResources.ResourceTableOrBuilder
-
getToolFingerprint
The version fingerprints of the tools that built the resource table.
repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;- Specified by:
getToolFingerprintin interfaceResources.ResourceTableOrBuilder
-
getToolFingerprintOrBuilder
The version fingerprints of the tools that built the resource table.
repeated .aapt.pb.ToolFingerprint tool_fingerprint = 4;- Specified by:
getToolFingerprintOrBuilderin interfaceResources.ResourceTableOrBuilder
-
getDynamicRefTableList
repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;- Specified by:
getDynamicRefTableListin interfaceResources.ResourceTableOrBuilder
-
getDynamicRefTableOrBuilderList
repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;- Specified by:
getDynamicRefTableOrBuilderListin interfaceResources.ResourceTableOrBuilder
-
getDynamicRefTableCount
public int getDynamicRefTableCount()repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;- Specified by:
getDynamicRefTableCountin interfaceResources.ResourceTableOrBuilder
-
getDynamicRefTable
repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;- Specified by:
getDynamicRefTablein interfaceResources.ResourceTableOrBuilder
-
getDynamicRefTableOrBuilder
repeated .aapt.pb.DynamicRefTable dynamic_ref_table = 5;- Specified by:
getDynamicRefTableOrBuilderin interfaceResources.ResourceTableOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Resources.ResourceTable parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.ResourceTable parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.ResourceTable parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.ResourceTable parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.ResourceTable parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.ResourceTable parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Resources.ResourceTable parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Resources.ResourceTable parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Resources.ResourceTable parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Resources.ResourceTable parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Resources.ResourceTable.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-