Package com.android.aapt
Class Resources.Style.Entry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder>
-
- com.android.aapt.Resources.Style.Entry.Builder
-
- All Implemented Interfaces:
Resources.Style.EntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- Resources.Style.Entry
public static final class Resources.Style.Entry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder> implements Resources.Style.EntryOrBuilder
An XML attribute/value pair defined in the style.
Protobuf typeaapt.pb.Style.Entry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Resources.Style.Entry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Resources.Style.Entrybuild()Resources.Style.EntrybuildPartial()Resources.Style.Entry.Builderclear()Resources.Style.Entry.BuilderclearComment()Any comments associated with the entry.Resources.Style.Entry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Resources.Style.Entry.BuilderclearItem()The Item defined for this XML attribute.Resources.Style.Entry.BuilderclearKey()A reference to the XML attribute.Resources.Style.Entry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Resources.Style.Entry.BuilderclearSource()Where the entry was defined.Resources.Style.Entry.Builderclone()java.lang.StringgetComment()Any comments associated with the entry.com.google.protobuf.ByteStringgetCommentBytes()Any comments associated with the entry.Resources.Style.EntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Resources.ItemgetItem()The Item defined for this XML attribute.Resources.Item.BuildergetItemBuilder()The Item defined for this XML attribute.Resources.ItemOrBuildergetItemOrBuilder()The Item defined for this XML attribute.Resources.ReferencegetKey()A reference to the XML attribute.Resources.Reference.BuildergetKeyBuilder()A reference to the XML attribute.Resources.ReferenceOrBuildergetKeyOrBuilder()A reference to the XML attribute.Resources.SourcegetSource()Where the entry was defined.Resources.Source.BuildergetSourceBuilder()Where the entry was defined.Resources.SourceOrBuildergetSourceOrBuilder()Where the entry was defined.booleanhasItem()The Item defined for this XML attribute.booleanhasKey()A reference to the XML attribute.booleanhasSource()Where the entry was defined.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Resources.Style.Entry.BuildermergeFrom(Resources.Style.Entry other)Resources.Style.Entry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Resources.Style.Entry.BuildermergeFrom(com.google.protobuf.Message other)Resources.Style.Entry.BuildermergeItem(Resources.Item value)The Item defined for this XML attribute.Resources.Style.Entry.BuildermergeKey(Resources.Reference value)A reference to the XML attribute.Resources.Style.Entry.BuildermergeSource(Resources.Source value)Where the entry was defined.Resources.Style.Entry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Resources.Style.Entry.BuildersetComment(java.lang.String value)Any comments associated with the entry.Resources.Style.Entry.BuildersetCommentBytes(com.google.protobuf.ByteString value)Any comments associated with the entry.Resources.Style.Entry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Resources.Style.Entry.BuildersetItem(Resources.Item value)The Item defined for this XML attribute.Resources.Style.Entry.BuildersetItem(Resources.Item.Builder builderForValue)The Item defined for this XML attribute.Resources.Style.Entry.BuildersetKey(Resources.Reference value)A reference to the XML attribute.Resources.Style.Entry.BuildersetKey(Resources.Reference.Builder builderForValue)A reference to the XML attribute.Resources.Style.Entry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Resources.Style.Entry.BuildersetSource(Resources.Source value)Where the entry was defined.Resources.Style.Entry.BuildersetSource(Resources.Source.Builder builderForValue)Where the entry was defined.Resources.Style.Entry.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.Style.Entry.Builder>
-
clear
public Resources.Style.Entry.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.Style.Entry.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.Style.Entry.Builder>
-
getDefaultInstanceForType
public Resources.Style.Entry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Resources.Style.Entry build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Resources.Style.Entry buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Resources.Style.Entry.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.Style.Entry.Builder>
-
setField
public Resources.Style.Entry.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.Style.Entry.Builder>
-
clearField
public Resources.Style.Entry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder>
-
clearOneof
public Resources.Style.Entry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder>
-
setRepeatedField
public Resources.Style.Entry.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.Style.Entry.Builder>
-
addRepeatedField
public Resources.Style.Entry.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.Style.Entry.Builder>
-
mergeFrom
public Resources.Style.Entry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resources.Style.Entry.Builder>
-
mergeFrom
public Resources.Style.Entry.Builder mergeFrom(Resources.Style.Entry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder>
-
mergeFrom
public Resources.Style.Entry.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.Style.Entry.Builder>- Throws:
java.io.IOException
-
hasSource
public boolean hasSource()
Where the entry was defined.
.aapt.pb.Source source = 1;- Specified by:
hasSourcein interfaceResources.Style.EntryOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public Resources.Source getSource()
Where the entry was defined.
.aapt.pb.Source source = 1;- Specified by:
getSourcein interfaceResources.Style.EntryOrBuilder- Returns:
- The source.
-
setSource
public Resources.Style.Entry.Builder setSource(Resources.Source value)
Where the entry was defined.
.aapt.pb.Source source = 1;
-
setSource
public Resources.Style.Entry.Builder setSource(Resources.Source.Builder builderForValue)
Where the entry was defined.
.aapt.pb.Source source = 1;
-
mergeSource
public Resources.Style.Entry.Builder mergeSource(Resources.Source value)
Where the entry was defined.
.aapt.pb.Source source = 1;
-
clearSource
public Resources.Style.Entry.Builder clearSource()
Where the entry was defined.
.aapt.pb.Source source = 1;
-
getSourceBuilder
public Resources.Source.Builder getSourceBuilder()
Where the entry was defined.
.aapt.pb.Source source = 1;
-
getSourceOrBuilder
public Resources.SourceOrBuilder getSourceOrBuilder()
Where the entry was defined.
.aapt.pb.Source source = 1;- Specified by:
getSourceOrBuilderin interfaceResources.Style.EntryOrBuilder
-
getComment
public java.lang.String getComment()
Any comments associated with the entry.
string comment = 2;- Specified by:
getCommentin interfaceResources.Style.EntryOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Any comments associated with the entry.
string comment = 2;- Specified by:
getCommentBytesin interfaceResources.Style.EntryOrBuilder- Returns:
- The bytes for comment.
-
setComment
public Resources.Style.Entry.Builder setComment(java.lang.String value)
Any comments associated with the entry.
string comment = 2;- Parameters:
value- The comment to set.- Returns:
- This builder for chaining.
-
clearComment
public Resources.Style.Entry.Builder clearComment()
Any comments associated with the entry.
string comment = 2;- Returns:
- This builder for chaining.
-
setCommentBytes
public Resources.Style.Entry.Builder setCommentBytes(com.google.protobuf.ByteString value)
Any comments associated with the entry.
string comment = 2;- Parameters:
value- The bytes for comment to set.- Returns:
- This builder for chaining.
-
hasKey
public boolean hasKey()
A reference to the XML attribute.
.aapt.pb.Reference key = 3;- Specified by:
hasKeyin interfaceResources.Style.EntryOrBuilder- Returns:
- Whether the key field is set.
-
getKey
public Resources.Reference getKey()
A reference to the XML attribute.
.aapt.pb.Reference key = 3;- Specified by:
getKeyin interfaceResources.Style.EntryOrBuilder- Returns:
- The key.
-
setKey
public Resources.Style.Entry.Builder setKey(Resources.Reference value)
A reference to the XML attribute.
.aapt.pb.Reference key = 3;
-
setKey
public Resources.Style.Entry.Builder setKey(Resources.Reference.Builder builderForValue)
A reference to the XML attribute.
.aapt.pb.Reference key = 3;
-
mergeKey
public Resources.Style.Entry.Builder mergeKey(Resources.Reference value)
A reference to the XML attribute.
.aapt.pb.Reference key = 3;
-
clearKey
public Resources.Style.Entry.Builder clearKey()
A reference to the XML attribute.
.aapt.pb.Reference key = 3;
-
getKeyBuilder
public Resources.Reference.Builder getKeyBuilder()
A reference to the XML attribute.
.aapt.pb.Reference key = 3;
-
getKeyOrBuilder
public Resources.ReferenceOrBuilder getKeyOrBuilder()
A reference to the XML attribute.
.aapt.pb.Reference key = 3;- Specified by:
getKeyOrBuilderin interfaceResources.Style.EntryOrBuilder
-
hasItem
public boolean hasItem()
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;- Specified by:
hasItemin interfaceResources.Style.EntryOrBuilder- Returns:
- Whether the item field is set.
-
getItem
public Resources.Item getItem()
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;- Specified by:
getItemin interfaceResources.Style.EntryOrBuilder- Returns:
- The item.
-
setItem
public Resources.Style.Entry.Builder setItem(Resources.Item value)
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;
-
setItem
public Resources.Style.Entry.Builder setItem(Resources.Item.Builder builderForValue)
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;
-
mergeItem
public Resources.Style.Entry.Builder mergeItem(Resources.Item value)
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;
-
clearItem
public Resources.Style.Entry.Builder clearItem()
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;
-
getItemBuilder
public Resources.Item.Builder getItemBuilder()
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;
-
getItemOrBuilder
public Resources.ItemOrBuilder getItemOrBuilder()
The Item defined for this XML attribute.
.aapt.pb.Item item = 4;- Specified by:
getItemOrBuilderin interfaceResources.Style.EntryOrBuilder
-
setUnknownFields
public final Resources.Style.Entry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder>
-
mergeUnknownFields
public final Resources.Style.Entry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Entry.Builder>
-
-