Package com.android.aapt
Class Resources.Styleable.Entry.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Resources.Styleable.Entry.Builder>
-
- com.android.aapt.Resources.Styleable.Entry.Builder
-
- All Implemented Interfaces:
Resources.Styleable.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.Styleable.Entry
public static final class Resources.Styleable.Entry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.Styleable.Entry.Builder> implements Resources.Styleable.EntryOrBuilder
An attribute defined for this styleable.
Protobuf typeaapt.pb.Styleable.Entry
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Resources.Styleable.Entry.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Resources.Styleable.Entrybuild()Resources.Styleable.EntrybuildPartial()Resources.Styleable.Entry.Builderclear()Resources.Styleable.Entry.BuilderclearAttr()The reference to the attribute.Resources.Styleable.Entry.BuilderclearComment()Any comments associated with the declaration.Resources.Styleable.Entry.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Resources.Styleable.Entry.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Resources.Styleable.Entry.BuilderclearSource()Where the attribute was defined within the <declare-styleable> block.Resources.Styleable.Entry.Builderclone()Resources.ReferencegetAttr()The reference to the attribute.Resources.Reference.BuildergetAttrBuilder()The reference to the attribute.Resources.ReferenceOrBuildergetAttrOrBuilder()The reference to the attribute.java.lang.StringgetComment()Any comments associated with the declaration.com.google.protobuf.ByteStringgetCommentBytes()Any comments associated with the declaration.Resources.Styleable.EntrygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Resources.SourcegetSource()Where the attribute was defined within the <declare-styleable> block.Resources.Source.BuildergetSourceBuilder()Where the attribute was defined within the <declare-styleable> block.Resources.SourceOrBuildergetSourceOrBuilder()Where the attribute was defined within the <declare-styleable> block.booleanhasAttr()The reference to the attribute.booleanhasSource()Where the attribute was defined within the <declare-styleable> block.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Resources.Styleable.Entry.BuildermergeAttr(Resources.Reference value)The reference to the attribute.Resources.Styleable.Entry.BuildermergeFrom(Resources.Styleable.Entry other)Resources.Styleable.Entry.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Resources.Styleable.Entry.BuildermergeFrom(com.google.protobuf.Message other)Resources.Styleable.Entry.BuildermergeSource(Resources.Source value)Where the attribute was defined within the <declare-styleable> block.Resources.Styleable.Entry.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Resources.Styleable.Entry.BuildersetAttr(Resources.Reference value)The reference to the attribute.Resources.Styleable.Entry.BuildersetAttr(Resources.Reference.Builder builderForValue)The reference to the attribute.Resources.Styleable.Entry.BuildersetComment(java.lang.String value)Any comments associated with the declaration.Resources.Styleable.Entry.BuildersetCommentBytes(com.google.protobuf.ByteString value)Any comments associated with the declaration.Resources.Styleable.Entry.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Resources.Styleable.Entry.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Resources.Styleable.Entry.BuildersetSource(Resources.Source value)Where the attribute was defined within the <declare-styleable> block.Resources.Styleable.Entry.BuildersetSource(Resources.Source.Builder builderForValue)Where the attribute was defined within the <declare-styleable> block.Resources.Styleable.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.Styleable.Entry.Builder>
-
clear
public Resources.Styleable.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.Styleable.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.Styleable.Entry.Builder>
-
getDefaultInstanceForType
public Resources.Styleable.Entry getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Resources.Styleable.Entry build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Resources.Styleable.Entry buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Resources.Styleable.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.Styleable.Entry.Builder>
-
setField
public Resources.Styleable.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.Styleable.Entry.Builder>
-
clearField
public Resources.Styleable.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.Styleable.Entry.Builder>
-
clearOneof
public Resources.Styleable.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.Styleable.Entry.Builder>
-
setRepeatedField
public Resources.Styleable.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.Styleable.Entry.Builder>
-
addRepeatedField
public Resources.Styleable.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.Styleable.Entry.Builder>
-
mergeFrom
public Resources.Styleable.Entry.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resources.Styleable.Entry.Builder>
-
mergeFrom
public Resources.Styleable.Entry.Builder mergeFrom(Resources.Styleable.Entry other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Styleable.Entry.Builder>
-
mergeFrom
public Resources.Styleable.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.Styleable.Entry.Builder>- Throws:
java.io.IOException
-
hasSource
public boolean hasSource()
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;- Specified by:
hasSourcein interfaceResources.Styleable.EntryOrBuilder- Returns:
- Whether the source field is set.
-
getSource
public Resources.Source getSource()
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;- Specified by:
getSourcein interfaceResources.Styleable.EntryOrBuilder- Returns:
- The source.
-
setSource
public Resources.Styleable.Entry.Builder setSource(Resources.Source value)
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;
-
setSource
public Resources.Styleable.Entry.Builder setSource(Resources.Source.Builder builderForValue)
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;
-
mergeSource
public Resources.Styleable.Entry.Builder mergeSource(Resources.Source value)
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;
-
clearSource
public Resources.Styleable.Entry.Builder clearSource()
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;
-
getSourceBuilder
public Resources.Source.Builder getSourceBuilder()
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;
-
getSourceOrBuilder
public Resources.SourceOrBuilder getSourceOrBuilder()
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;- Specified by:
getSourceOrBuilderin interfaceResources.Styleable.EntryOrBuilder
-
getComment
public java.lang.String getComment()
Any comments associated with the declaration.
string comment = 2;- Specified by:
getCommentin interfaceResources.Styleable.EntryOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Any comments associated with the declaration.
string comment = 2;- Specified by:
getCommentBytesin interfaceResources.Styleable.EntryOrBuilder- Returns:
- The bytes for comment.
-
setComment
public Resources.Styleable.Entry.Builder setComment(java.lang.String value)
Any comments associated with the declaration.
string comment = 2;- Parameters:
value- The comment to set.- Returns:
- This builder for chaining.
-
clearComment
public Resources.Styleable.Entry.Builder clearComment()
Any comments associated with the declaration.
string comment = 2;- Returns:
- This builder for chaining.
-
setCommentBytes
public Resources.Styleable.Entry.Builder setCommentBytes(com.google.protobuf.ByteString value)
Any comments associated with the declaration.
string comment = 2;- Parameters:
value- The bytes for comment to set.- Returns:
- This builder for chaining.
-
hasAttr
public boolean hasAttr()
The reference to the attribute.
.aapt.pb.Reference attr = 3;- Specified by:
hasAttrin interfaceResources.Styleable.EntryOrBuilder- Returns:
- Whether the attr field is set.
-
getAttr
public Resources.Reference getAttr()
The reference to the attribute.
.aapt.pb.Reference attr = 3;- Specified by:
getAttrin interfaceResources.Styleable.EntryOrBuilder- Returns:
- The attr.
-
setAttr
public Resources.Styleable.Entry.Builder setAttr(Resources.Reference value)
The reference to the attribute.
.aapt.pb.Reference attr = 3;
-
setAttr
public Resources.Styleable.Entry.Builder setAttr(Resources.Reference.Builder builderForValue)
The reference to the attribute.
.aapt.pb.Reference attr = 3;
-
mergeAttr
public Resources.Styleable.Entry.Builder mergeAttr(Resources.Reference value)
The reference to the attribute.
.aapt.pb.Reference attr = 3;
-
clearAttr
public Resources.Styleable.Entry.Builder clearAttr()
The reference to the attribute.
.aapt.pb.Reference attr = 3;
-
getAttrBuilder
public Resources.Reference.Builder getAttrBuilder()
The reference to the attribute.
.aapt.pb.Reference attr = 3;
-
getAttrOrBuilder
public Resources.ReferenceOrBuilder getAttrOrBuilder()
The reference to the attribute.
.aapt.pb.Reference attr = 3;- Specified by:
getAttrOrBuilderin interfaceResources.Styleable.EntryOrBuilder
-
setUnknownFields
public final Resources.Styleable.Entry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Styleable.Entry.Builder>
-
mergeUnknownFields
public final Resources.Styleable.Entry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Styleable.Entry.Builder>
-
-