Package com.android.aapt
Class Resources.Styleable.Entry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
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,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 type
aapt.pb.Styleable.Entry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The reference to the attribute.Any comments associated with the declaration.Where the attribute was defined within the <declare-styleable> block.getAttr()The reference to the attribute.The reference to the attribute.The reference to the attribute.Any comments associated with the declaration.com.google.protobuf.ByteStringAny comments associated with the declaration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorWhere the attribute was defined within the <declare-styleable> block.Where the attribute was defined within the <declare-styleable> block.Where the attribute was defined within the <declare-styleable> block.booleanhasAttr()The reference to the attribute.booleanWhere the attribute was defined within the <declare-styleable> block.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeAttr(Resources.Reference value) The reference to the attribute.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeSource(Resources.Source value) Where the attribute was defined within the <declare-styleable> block.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setAttr(Resources.Reference value) The reference to the attribute.setAttr(Resources.Reference.Builder builderForValue) The reference to the attribute.setComment(String value) Any comments associated with the declaration.setCommentBytes(com.google.protobuf.ByteString value) Any comments associated with the declaration.setSource(Resources.Source value) Where the attribute was defined within the <declare-styleable> block.setSource(Resources.Source.Builder builderForValue) Where the attribute was defined within the <declare-styleable> block.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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
- 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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Resources.Styleable.Entry.Builder>
-
mergeFrom
-
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 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:
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
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
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1; -
setSource
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1; -
mergeSource
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1; -
clearSource
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1; -
getSourceBuilder
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1; -
getSourceOrBuilder
Where the attribute was defined within the <declare-styleable> block.
.aapt.pb.Source source = 1;- Specified by:
getSourceOrBuilderin interfaceResources.Styleable.EntryOrBuilder
-
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
Any comments associated with the declaration.
string comment = 2;- Parameters:
value- The comment to set.- Returns:
- This builder for chaining.
-
clearComment
Any comments associated with the declaration.
string comment = 2;- Returns:
- This builder for chaining.
-
setCommentBytes
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
The reference to the attribute.
.aapt.pb.Reference attr = 3;- Specified by:
getAttrin interfaceResources.Styleable.EntryOrBuilder- Returns:
- The attr.
-
setAttr
The reference to the attribute.
.aapt.pb.Reference attr = 3; -
setAttr
The reference to the attribute.
.aapt.pb.Reference attr = 3; -
mergeAttr
The reference to the attribute.
.aapt.pb.Reference attr = 3; -
clearAttr
The reference to the attribute.
.aapt.pb.Reference attr = 3; -
getAttrBuilder
The reference to the attribute.
.aapt.pb.Reference attr = 3; -
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>
-