Package com.android.aapt
Class Resources.MacroBody
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.android.aapt.Resources.MacroBody
- All Implemented Interfaces:
Resources.MacroBodyOrBuilder,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.MacroBody
extends com.google.protobuf.GeneratedMessageV3
implements Resources.MacroBodyOrBuilder
Protobuf type
aapt.pb.MacroBody- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeaapt.pb.MacroBodyNested 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.MacroBodystatic final com.google.protobuf.Descriptors.DescriptorgetNamespaceStack(int index) repeated .aapt.pb.NamespaceAlias namespace_stack = 4;intrepeated .aapt.pb.NamespaceAlias namespace_stack = 4;repeated .aapt.pb.NamespaceAlias namespace_stack = 4;getNamespaceStackOrBuilder(int index) repeated .aapt.pb.NamespaceAlias namespace_stack = 4;List<? extends Resources.NamespaceAliasOrBuilder>repeated .aapt.pb.NamespaceAlias namespace_stack = 4;com.google.protobuf.Parser<Resources.MacroBody>string raw_string = 1;com.google.protobuf.ByteStringstring raw_string = 1;int.aapt.pb.SourcePosition source = 5;.aapt.pb.SourcePosition source = 5;.aapt.pb.StyleString style_string = 2;.aapt.pb.StyleString style_string = 2;getUntranslatableSections(int index) repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;intrepeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;getUntranslatableSectionsOrBuilder(int index) repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;List<? extends Resources.UntranslatableSectionOrBuilder>repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;inthashCode()boolean.aapt.pb.SourcePosition source = 5;boolean.aapt.pb.StyleString style_string = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Resources.MacroBody.Builderstatic Resources.MacroBody.BuildernewBuilder(Resources.MacroBody prototype) protected Resources.MacroBody.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Resources.MacroBodyparseDelimitedFrom(InputStream input) static Resources.MacroBodyparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.MacroBodyparseFrom(byte[] data) static Resources.MacroBodyparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.MacroBodyparseFrom(com.google.protobuf.ByteString data) static Resources.MacroBodyparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.MacroBodyparseFrom(com.google.protobuf.CodedInputStream input) static Resources.MacroBodyparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.MacroBodyparseFrom(InputStream input) static Resources.MacroBodyparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Resources.MacroBodyparseFrom(ByteBuffer data) static Resources.MacroBodyparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Resources.MacroBody>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
-
RAW_STRING_FIELD_NUMBER
public static final int RAW_STRING_FIELD_NUMBER- See Also:
-
STYLE_STRING_FIELD_NUMBER
public static final int STYLE_STRING_FIELD_NUMBER- See Also:
-
UNTRANSLATABLE_SECTIONS_FIELD_NUMBER
public static final int UNTRANSLATABLE_SECTIONS_FIELD_NUMBER- See Also:
-
NAMESPACE_STACK_FIELD_NUMBER
public static final int NAMESPACE_STACK_FIELD_NUMBER- See Also:
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_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
-
getRawString
string raw_string = 1;- Specified by:
getRawStringin interfaceResources.MacroBodyOrBuilder- Returns:
- The rawString.
-
getRawStringBytes
public com.google.protobuf.ByteString getRawStringBytes()string raw_string = 1;- Specified by:
getRawStringBytesin interfaceResources.MacroBodyOrBuilder- Returns:
- The bytes for rawString.
-
hasStyleString
public boolean hasStyleString().aapt.pb.StyleString style_string = 2;- Specified by:
hasStyleStringin interfaceResources.MacroBodyOrBuilder- Returns:
- Whether the styleString field is set.
-
getStyleString
.aapt.pb.StyleString style_string = 2;- Specified by:
getStyleStringin interfaceResources.MacroBodyOrBuilder- Returns:
- The styleString.
-
getStyleStringOrBuilder
.aapt.pb.StyleString style_string = 2;- Specified by:
getStyleStringOrBuilderin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsList
repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsListin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsOrBuilderList
public List<? extends Resources.UntranslatableSectionOrBuilder> getUntranslatableSectionsOrBuilderList()repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsOrBuilderListin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsCount
public int getUntranslatableSectionsCount()repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsCountin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSections
repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsOrBuilder
repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsOrBuilderin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackList
repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackListin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackOrBuilderList
repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackOrBuilderListin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackCount
public int getNamespaceStackCount()repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackCountin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStack
repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackOrBuilder
repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackOrBuilderin interfaceResources.MacroBodyOrBuilder
-
hasSource
public boolean hasSource().aapt.pb.SourcePosition source = 5;- Specified by:
hasSourcein interfaceResources.MacroBodyOrBuilder- Returns:
- Whether the source field is set.
-
getSource
.aapt.pb.SourcePosition source = 5;- Specified by:
getSourcein interfaceResources.MacroBodyOrBuilder- Returns:
- The source.
-
getSourceOrBuilder
.aapt.pb.SourcePosition source = 5;- Specified by:
getSourceOrBuilderin interfaceResources.MacroBodyOrBuilder
-
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.MacroBody parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.MacroBody parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.MacroBody parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.MacroBody 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.MacroBody parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.MacroBody 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.MacroBody parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Resources.MacroBody parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Resources.MacroBody parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Resources.MacroBody 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.MacroBody.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
-