Package com.android.aapt
Class Resources.XmlElement.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
- com.android.aapt.Resources.XmlElement.Builder
-
- All Implemented Interfaces:
Resources.XmlElementOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Resources.XmlElement
public static final class Resources.XmlElement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder> implements Resources.XmlElementOrBuilder
An <element> in an XML document.
Protobuf typeaapt.pb.XmlElement
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Resources.XmlElement.BuilderaddAllAttribute(java.lang.Iterable<? extends Resources.XmlAttribute> values)The attributes of this element.Resources.XmlElement.BuilderaddAllChild(java.lang.Iterable<? extends Resources.XmlNode> values)The children of this element.Resources.XmlElement.BuilderaddAllNamespaceDeclaration(java.lang.Iterable<? extends Resources.XmlNamespace> values)Namespaces defined on this element.Resources.XmlElement.BuilderaddAttribute(int index, Resources.XmlAttribute value)The attributes of this element.Resources.XmlElement.BuilderaddAttribute(int index, Resources.XmlAttribute.Builder builderForValue)The attributes of this element.Resources.XmlElement.BuilderaddAttribute(Resources.XmlAttribute value)The attributes of this element.Resources.XmlElement.BuilderaddAttribute(Resources.XmlAttribute.Builder builderForValue)The attributes of this element.Resources.XmlAttribute.BuilderaddAttributeBuilder()The attributes of this element.Resources.XmlAttribute.BuilderaddAttributeBuilder(int index)The attributes of this element.Resources.XmlElement.BuilderaddChild(int index, Resources.XmlNode value)The children of this element.Resources.XmlElement.BuilderaddChild(int index, Resources.XmlNode.Builder builderForValue)The children of this element.Resources.XmlElement.BuilderaddChild(Resources.XmlNode value)The children of this element.Resources.XmlElement.BuilderaddChild(Resources.XmlNode.Builder builderForValue)The children of this element.Resources.XmlNode.BuilderaddChildBuilder()The children of this element.Resources.XmlNode.BuilderaddChildBuilder(int index)The children of this element.Resources.XmlElement.BuilderaddNamespaceDeclaration(int index, Resources.XmlNamespace value)Namespaces defined on this element.Resources.XmlElement.BuilderaddNamespaceDeclaration(int index, Resources.XmlNamespace.Builder builderForValue)Namespaces defined on this element.Resources.XmlElement.BuilderaddNamespaceDeclaration(Resources.XmlNamespace value)Namespaces defined on this element.Resources.XmlElement.BuilderaddNamespaceDeclaration(Resources.XmlNamespace.Builder builderForValue)Namespaces defined on this element.Resources.XmlNamespace.BuilderaddNamespaceDeclarationBuilder()Namespaces defined on this element.Resources.XmlNamespace.BuilderaddNamespaceDeclarationBuilder(int index)Namespaces defined on this element.Resources.XmlElement.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Resources.XmlElementbuild()Resources.XmlElementbuildPartial()Resources.XmlElement.Builderclear()Resources.XmlElement.BuilderclearAttribute()The attributes of this element.Resources.XmlElement.BuilderclearChild()The children of this element.Resources.XmlElement.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Resources.XmlElement.BuilderclearName()The name of this element.Resources.XmlElement.BuilderclearNamespaceDeclaration()Namespaces defined on this element.Resources.XmlElement.BuilderclearNamespaceUri()The namespace URI of this element.Resources.XmlElement.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Resources.XmlElement.Builderclone()Resources.XmlAttributegetAttribute(int index)The attributes of this element.Resources.XmlAttribute.BuildergetAttributeBuilder(int index)The attributes of this element.java.util.List<Resources.XmlAttribute.Builder>getAttributeBuilderList()The attributes of this element.intgetAttributeCount()The attributes of this element.java.util.List<Resources.XmlAttribute>getAttributeList()The attributes of this element.Resources.XmlAttributeOrBuildergetAttributeOrBuilder(int index)The attributes of this element.java.util.List<? extends Resources.XmlAttributeOrBuilder>getAttributeOrBuilderList()The attributes of this element.Resources.XmlNodegetChild(int index)The children of this element.Resources.XmlNode.BuildergetChildBuilder(int index)The children of this element.java.util.List<Resources.XmlNode.Builder>getChildBuilderList()The children of this element.intgetChildCount()The children of this element.java.util.List<Resources.XmlNode>getChildList()The children of this element.Resources.XmlNodeOrBuildergetChildOrBuilder(int index)The children of this element.java.util.List<? extends Resources.XmlNodeOrBuilder>getChildOrBuilderList()The children of this element.Resources.XmlElementgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetName()The name of this element.com.google.protobuf.ByteStringgetNameBytes()The name of this element.Resources.XmlNamespacegetNamespaceDeclaration(int index)Namespaces defined on this element.Resources.XmlNamespace.BuildergetNamespaceDeclarationBuilder(int index)Namespaces defined on this element.java.util.List<Resources.XmlNamespace.Builder>getNamespaceDeclarationBuilderList()Namespaces defined on this element.intgetNamespaceDeclarationCount()Namespaces defined on this element.java.util.List<Resources.XmlNamespace>getNamespaceDeclarationList()Namespaces defined on this element.Resources.XmlNamespaceOrBuildergetNamespaceDeclarationOrBuilder(int index)Namespaces defined on this element.java.util.List<? extends Resources.XmlNamespaceOrBuilder>getNamespaceDeclarationOrBuilderList()Namespaces defined on this element.java.lang.StringgetNamespaceUri()The namespace URI of this element.com.google.protobuf.ByteStringgetNamespaceUriBytes()The namespace URI of this element.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Resources.XmlElement.BuildermergeFrom(Resources.XmlElement other)Resources.XmlElement.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Resources.XmlElement.BuildermergeFrom(com.google.protobuf.Message other)Resources.XmlElement.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Resources.XmlElement.BuilderremoveAttribute(int index)The attributes of this element.Resources.XmlElement.BuilderremoveChild(int index)The children of this element.Resources.XmlElement.BuilderremoveNamespaceDeclaration(int index)Namespaces defined on this element.Resources.XmlElement.BuildersetAttribute(int index, Resources.XmlAttribute value)The attributes of this element.Resources.XmlElement.BuildersetAttribute(int index, Resources.XmlAttribute.Builder builderForValue)The attributes of this element.Resources.XmlElement.BuildersetChild(int index, Resources.XmlNode value)The children of this element.Resources.XmlElement.BuildersetChild(int index, Resources.XmlNode.Builder builderForValue)The children of this element.Resources.XmlElement.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Resources.XmlElement.BuildersetName(java.lang.String value)The name of this element.Resources.XmlElement.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of this element.Resources.XmlElement.BuildersetNamespaceDeclaration(int index, Resources.XmlNamespace value)Namespaces defined on this element.Resources.XmlElement.BuildersetNamespaceDeclaration(int index, Resources.XmlNamespace.Builder builderForValue)Namespaces defined on this element.Resources.XmlElement.BuildersetNamespaceUri(java.lang.String value)The namespace URI of this element.Resources.XmlElement.BuildersetNamespaceUriBytes(com.google.protobuf.ByteString value)The namespace URI of this element.Resources.XmlElement.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Resources.XmlElement.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
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.Builder<Resources.XmlElement.Builder>
-
clear
public Resources.XmlElement.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
getDefaultInstanceForType
public Resources.XmlElement getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Resources.XmlElement build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Resources.XmlElement buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Resources.XmlElement.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
setField
public Resources.XmlElement.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
clearField
public Resources.XmlElement.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
clearOneof
public Resources.XmlElement.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
setRepeatedField
public Resources.XmlElement.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
addRepeatedField
public Resources.XmlElement.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
mergeFrom
public Resources.XmlElement.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resources.XmlElement.Builder>
-
mergeFrom
public Resources.XmlElement.Builder mergeFrom(Resources.XmlElement other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
mergeFrom
public Resources.XmlElement.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resources.XmlElement.Builder>- Throws:
java.io.IOException
-
getNamespaceDeclarationList
public java.util.List<Resources.XmlNamespace> getNamespaceDeclarationList()
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;- Specified by:
getNamespaceDeclarationListin interfaceResources.XmlElementOrBuilder
-
getNamespaceDeclarationCount
public int getNamespaceDeclarationCount()
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;- Specified by:
getNamespaceDeclarationCountin interfaceResources.XmlElementOrBuilder
-
getNamespaceDeclaration
public Resources.XmlNamespace getNamespaceDeclaration(int index)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;- Specified by:
getNamespaceDeclarationin interfaceResources.XmlElementOrBuilder
-
setNamespaceDeclaration
public Resources.XmlElement.Builder setNamespaceDeclaration(int index, Resources.XmlNamespace value)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
setNamespaceDeclaration
public Resources.XmlElement.Builder setNamespaceDeclaration(int index, Resources.XmlNamespace.Builder builderForValue)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
addNamespaceDeclaration
public Resources.XmlElement.Builder addNamespaceDeclaration(Resources.XmlNamespace value)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
addNamespaceDeclaration
public Resources.XmlElement.Builder addNamespaceDeclaration(int index, Resources.XmlNamespace value)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
addNamespaceDeclaration
public Resources.XmlElement.Builder addNamespaceDeclaration(Resources.XmlNamespace.Builder builderForValue)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
addNamespaceDeclaration
public Resources.XmlElement.Builder addNamespaceDeclaration(int index, Resources.XmlNamespace.Builder builderForValue)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
addAllNamespaceDeclaration
public Resources.XmlElement.Builder addAllNamespaceDeclaration(java.lang.Iterable<? extends Resources.XmlNamespace> values)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
clearNamespaceDeclaration
public Resources.XmlElement.Builder clearNamespaceDeclaration()
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
removeNamespaceDeclaration
public Resources.XmlElement.Builder removeNamespaceDeclaration(int index)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
getNamespaceDeclarationBuilder
public Resources.XmlNamespace.Builder getNamespaceDeclarationBuilder(int index)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
getNamespaceDeclarationOrBuilder
public Resources.XmlNamespaceOrBuilder getNamespaceDeclarationOrBuilder(int index)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;- Specified by:
getNamespaceDeclarationOrBuilderin interfaceResources.XmlElementOrBuilder
-
getNamespaceDeclarationOrBuilderList
public java.util.List<? extends Resources.XmlNamespaceOrBuilder> getNamespaceDeclarationOrBuilderList()
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;- Specified by:
getNamespaceDeclarationOrBuilderListin interfaceResources.XmlElementOrBuilder
-
addNamespaceDeclarationBuilder
public Resources.XmlNamespace.Builder addNamespaceDeclarationBuilder()
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
addNamespaceDeclarationBuilder
public Resources.XmlNamespace.Builder addNamespaceDeclarationBuilder(int index)
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
getNamespaceDeclarationBuilderList
public java.util.List<Resources.XmlNamespace.Builder> getNamespaceDeclarationBuilderList()
Namespaces defined on this element.
repeated .aapt.pb.XmlNamespace namespace_declaration = 1;
-
getNamespaceUri
public java.lang.String getNamespaceUri()
The namespace URI of this element.
string namespace_uri = 2;- Specified by:
getNamespaceUriin interfaceResources.XmlElementOrBuilder- Returns:
- The namespaceUri.
-
getNamespaceUriBytes
public com.google.protobuf.ByteString getNamespaceUriBytes()
The namespace URI of this element.
string namespace_uri = 2;- Specified by:
getNamespaceUriBytesin interfaceResources.XmlElementOrBuilder- Returns:
- The bytes for namespaceUri.
-
setNamespaceUri
public Resources.XmlElement.Builder setNamespaceUri(java.lang.String value)
The namespace URI of this element.
string namespace_uri = 2;- Parameters:
value- The namespaceUri to set.- Returns:
- This builder for chaining.
-
clearNamespaceUri
public Resources.XmlElement.Builder clearNamespaceUri()
The namespace URI of this element.
string namespace_uri = 2;- Returns:
- This builder for chaining.
-
setNamespaceUriBytes
public Resources.XmlElement.Builder setNamespaceUriBytes(com.google.protobuf.ByteString value)
The namespace URI of this element.
string namespace_uri = 2;- Parameters:
value- The bytes for namespaceUri to set.- Returns:
- This builder for chaining.
-
getName
public java.lang.String getName()
The name of this element.
string name = 3;- Specified by:
getNamein interfaceResources.XmlElementOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The name of this element.
string name = 3;- Specified by:
getNameBytesin interfaceResources.XmlElementOrBuilder- Returns:
- The bytes for name.
-
setName
public Resources.XmlElement.Builder setName(java.lang.String value)
The name of this element.
string name = 3;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Resources.XmlElement.Builder clearName()
The name of this element.
string name = 3;- Returns:
- This builder for chaining.
-
setNameBytes
public Resources.XmlElement.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of this element.
string name = 3;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getAttributeList
public java.util.List<Resources.XmlAttribute> getAttributeList()
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;- Specified by:
getAttributeListin interfaceResources.XmlElementOrBuilder
-
getAttributeCount
public int getAttributeCount()
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;- Specified by:
getAttributeCountin interfaceResources.XmlElementOrBuilder
-
getAttribute
public Resources.XmlAttribute getAttribute(int index)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;- Specified by:
getAttributein interfaceResources.XmlElementOrBuilder
-
setAttribute
public Resources.XmlElement.Builder setAttribute(int index, Resources.XmlAttribute value)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
setAttribute
public Resources.XmlElement.Builder setAttribute(int index, Resources.XmlAttribute.Builder builderForValue)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
addAttribute
public Resources.XmlElement.Builder addAttribute(Resources.XmlAttribute value)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
addAttribute
public Resources.XmlElement.Builder addAttribute(int index, Resources.XmlAttribute value)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
addAttribute
public Resources.XmlElement.Builder addAttribute(Resources.XmlAttribute.Builder builderForValue)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
addAttribute
public Resources.XmlElement.Builder addAttribute(int index, Resources.XmlAttribute.Builder builderForValue)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
addAllAttribute
public Resources.XmlElement.Builder addAllAttribute(java.lang.Iterable<? extends Resources.XmlAttribute> values)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
clearAttribute
public Resources.XmlElement.Builder clearAttribute()
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
removeAttribute
public Resources.XmlElement.Builder removeAttribute(int index)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
getAttributeBuilder
public Resources.XmlAttribute.Builder getAttributeBuilder(int index)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
getAttributeOrBuilder
public Resources.XmlAttributeOrBuilder getAttributeOrBuilder(int index)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;- Specified by:
getAttributeOrBuilderin interfaceResources.XmlElementOrBuilder
-
getAttributeOrBuilderList
public java.util.List<? extends Resources.XmlAttributeOrBuilder> getAttributeOrBuilderList()
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;- Specified by:
getAttributeOrBuilderListin interfaceResources.XmlElementOrBuilder
-
addAttributeBuilder
public Resources.XmlAttribute.Builder addAttributeBuilder()
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
addAttributeBuilder
public Resources.XmlAttribute.Builder addAttributeBuilder(int index)
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
getAttributeBuilderList
public java.util.List<Resources.XmlAttribute.Builder> getAttributeBuilderList()
The attributes of this element.
repeated .aapt.pb.XmlAttribute attribute = 4;
-
getChildList
public java.util.List<Resources.XmlNode> getChildList()
The children of this element.
repeated .aapt.pb.XmlNode child = 5;- Specified by:
getChildListin interfaceResources.XmlElementOrBuilder
-
getChildCount
public int getChildCount()
The children of this element.
repeated .aapt.pb.XmlNode child = 5;- Specified by:
getChildCountin interfaceResources.XmlElementOrBuilder
-
getChild
public Resources.XmlNode getChild(int index)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;- Specified by:
getChildin interfaceResources.XmlElementOrBuilder
-
setChild
public Resources.XmlElement.Builder setChild(int index, Resources.XmlNode value)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
setChild
public Resources.XmlElement.Builder setChild(int index, Resources.XmlNode.Builder builderForValue)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
addChild
public Resources.XmlElement.Builder addChild(Resources.XmlNode value)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
addChild
public Resources.XmlElement.Builder addChild(int index, Resources.XmlNode value)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
addChild
public Resources.XmlElement.Builder addChild(Resources.XmlNode.Builder builderForValue)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
addChild
public Resources.XmlElement.Builder addChild(int index, Resources.XmlNode.Builder builderForValue)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
addAllChild
public Resources.XmlElement.Builder addAllChild(java.lang.Iterable<? extends Resources.XmlNode> values)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
clearChild
public Resources.XmlElement.Builder clearChild()
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
removeChild
public Resources.XmlElement.Builder removeChild(int index)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
getChildBuilder
public Resources.XmlNode.Builder getChildBuilder(int index)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
getChildOrBuilder
public Resources.XmlNodeOrBuilder getChildOrBuilder(int index)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;- Specified by:
getChildOrBuilderin interfaceResources.XmlElementOrBuilder
-
getChildOrBuilderList
public java.util.List<? extends Resources.XmlNodeOrBuilder> getChildOrBuilderList()
The children of this element.
repeated .aapt.pb.XmlNode child = 5;- Specified by:
getChildOrBuilderListin interfaceResources.XmlElementOrBuilder
-
addChildBuilder
public Resources.XmlNode.Builder addChildBuilder()
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
addChildBuilder
public Resources.XmlNode.Builder addChildBuilder(int index)
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
getChildBuilderList
public java.util.List<Resources.XmlNode.Builder> getChildBuilderList()
The children of this element.
repeated .aapt.pb.XmlNode child = 5;
-
setUnknownFields
public final Resources.XmlElement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
mergeUnknownFields
public final Resources.XmlElement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.XmlElement.Builder>
-
-