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,java.io.Serializable
- Enclosing class:
- Resources
public static final class Resources.MacroBody extends com.google.protobuf.GeneratedMessageV3 implements Resources.MacroBodyOrBuilder
Protobuf typeaapt.pb.MacroBody- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResources.MacroBody.BuilderProtobuf typeaapt.pb.MacroBody-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intNAMESPACE_STACK_FIELD_NUMBERstatic intRAW_STRING_FIELD_NUMBERstatic intSOURCE_FIELD_NUMBERstatic intSTYLE_STRING_FIELD_NUMBERstatic intUNTRANSLATABLE_SECTIONS_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)static Resources.MacroBodygetDefaultInstance()Resources.MacroBodygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Resources.NamespaceAliasgetNamespaceStack(int index)repeated .aapt.pb.NamespaceAlias namespace_stack = 4;intgetNamespaceStackCount()repeated .aapt.pb.NamespaceAlias namespace_stack = 4;java.util.List<Resources.NamespaceAlias>getNamespaceStackList()repeated .aapt.pb.NamespaceAlias namespace_stack = 4;Resources.NamespaceAliasOrBuildergetNamespaceStackOrBuilder(int index)repeated .aapt.pb.NamespaceAlias namespace_stack = 4;java.util.List<? extends Resources.NamespaceAliasOrBuilder>getNamespaceStackOrBuilderList()repeated .aapt.pb.NamespaceAlias namespace_stack = 4;com.google.protobuf.Parser<Resources.MacroBody>getParserForType()java.lang.StringgetRawString()string raw_string = 1;com.google.protobuf.ByteStringgetRawStringBytes()string raw_string = 1;intgetSerializedSize()Resources.SourcePositiongetSource().aapt.pb.SourcePosition source = 5;Resources.SourcePositionOrBuildergetSourceOrBuilder().aapt.pb.SourcePosition source = 5;Resources.StyleStringgetStyleString().aapt.pb.StyleString style_string = 2;Resources.StyleStringOrBuildergetStyleStringOrBuilder().aapt.pb.StyleString style_string = 2;com.google.protobuf.UnknownFieldSetgetUnknownFields()Resources.UntranslatableSectiongetUntranslatableSections(int index)repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;intgetUntranslatableSectionsCount()repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;java.util.List<Resources.UntranslatableSection>getUntranslatableSectionsList()repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;Resources.UntranslatableSectionOrBuildergetUntranslatableSectionsOrBuilder(int index)repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;java.util.List<? extends Resources.UntranslatableSectionOrBuilder>getUntranslatableSectionsOrBuilderList()repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;inthashCode()booleanhasSource().aapt.pb.SourcePosition source = 5;booleanhasStyleString().aapt.pb.StyleString style_string = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Resources.MacroBody.BuildernewBuilder()static Resources.MacroBody.BuildernewBuilder(Resources.MacroBody prototype)Resources.MacroBody.BuildernewBuilderForType()protected Resources.MacroBody.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Resources.MacroBodyparseDelimitedFrom(java.io.InputStream input)static Resources.MacroBodyparseDelimitedFrom(java.io.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(java.io.InputStream input)static Resources.MacroBodyparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Resources.MacroBodyparseFrom(java.nio.ByteBuffer data)static Resources.MacroBodyparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Resources.MacroBody>parser()Resources.MacroBody.BuildertoBuilder()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, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
RAW_STRING_FIELD_NUMBER
public static final int RAW_STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STYLE_STRING_FIELD_NUMBER
public static final int STYLE_STRING_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UNTRANSLATABLE_SECTIONS_FIELD_NUMBER
public static final int UNTRANSLATABLE_SECTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAMESPACE_STACK_FIELD_NUMBER
public static final int NAMESPACE_STACK_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public java.lang.String 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
public Resources.StyleString getStyleString()
.aapt.pb.StyleString style_string = 2;- Specified by:
getStyleStringin interfaceResources.MacroBodyOrBuilder- Returns:
- The styleString.
-
getStyleStringOrBuilder
public Resources.StyleStringOrBuilder getStyleStringOrBuilder()
.aapt.pb.StyleString style_string = 2;- Specified by:
getStyleStringOrBuilderin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsList
public java.util.List<Resources.UntranslatableSection> getUntranslatableSectionsList()
repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsListin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsOrBuilderList
public java.util.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
public Resources.UntranslatableSection getUntranslatableSections(int index)
repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsin interfaceResources.MacroBodyOrBuilder
-
getUntranslatableSectionsOrBuilder
public Resources.UntranslatableSectionOrBuilder getUntranslatableSectionsOrBuilder(int index)
repeated .aapt.pb.UntranslatableSection untranslatable_sections = 3;- Specified by:
getUntranslatableSectionsOrBuilderin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackList
public java.util.List<Resources.NamespaceAlias> getNamespaceStackList()
repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackListin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackOrBuilderList
public java.util.List<? extends Resources.NamespaceAliasOrBuilder> 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
public Resources.NamespaceAlias getNamespaceStack(int index)
repeated .aapt.pb.NamespaceAlias namespace_stack = 4;- Specified by:
getNamespaceStackin interfaceResources.MacroBodyOrBuilder
-
getNamespaceStackOrBuilder
public Resources.NamespaceAliasOrBuilder getNamespaceStackOrBuilder(int index)
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
public Resources.SourcePosition getSource()
.aapt.pb.SourcePosition source = 5;- Specified by:
getSourcein interfaceResources.MacroBodyOrBuilder- Returns:
- The source.
-
getSourceOrBuilder
public Resources.SourcePositionOrBuilder 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- 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(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Resources.MacroBody parseFrom(java.nio.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
public static Resources.MacroBody parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Resources.MacroBody parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Resources.MacroBody parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Resources.MacroBody parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Resources.MacroBody parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Resources.MacroBody parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Resources.MacroBody.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Resources.MacroBody.Builder newBuilder()
-
newBuilder
public static Resources.MacroBody.Builder newBuilder(Resources.MacroBody prototype)
-
toBuilder
public Resources.MacroBody.Builder 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
public static Resources.MacroBody getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Resources.MacroBody> parser()
-
getParserForType
public com.google.protobuf.Parser<Resources.MacroBody> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Resources.MacroBody getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-