Package com.android.aapt
Class Resources.Style.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
com.android.aapt.Resources.Style.Builder
- All Implemented Interfaces:
Resources.StyleOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Resources.Style
public static final class Resources.Style.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
implements Resources.StyleOrBuilder
A value that represents a style.Protobuf type
aapt.pb.Style-
Method Summary
Modifier and TypeMethodDescriptionaddAllEntry(Iterable<? extends Resources.Style.Entry> values) The set of XML attribute/value pairs for this style.addEntry(int index, Resources.Style.Entry value) The set of XML attribute/value pairs for this style.addEntry(int index, Resources.Style.Entry.Builder builderForValue) The set of XML attribute/value pairs for this style.addEntry(Resources.Style.Entry value) The set of XML attribute/value pairs for this style.addEntry(Resources.Style.Entry.Builder builderForValue) The set of XML attribute/value pairs for this style.The set of XML attribute/value pairs for this style.addEntryBuilder(int index) The set of XML attribute/value pairs for this style.build()clear()The set of XML attribute/value pairs for this style.The optinal style from which this style inherits attributes.The source file information of the parent inheritance declaration.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetEntry(int index) The set of XML attribute/value pairs for this style.getEntryBuilder(int index) The set of XML attribute/value pairs for this style.The set of XML attribute/value pairs for this style.intThe set of XML attribute/value pairs for this style.The set of XML attribute/value pairs for this style.getEntryOrBuilder(int index) The set of XML attribute/value pairs for this style.List<? extends Resources.Style.EntryOrBuilder>The set of XML attribute/value pairs for this style.The optinal style from which this style inherits attributes.The optinal style from which this style inherits attributes.The optinal style from which this style inherits attributes.The source file information of the parent inheritance declaration.The source file information of the parent inheritance declaration.The source file information of the parent inheritance declaration.booleanThe optinal style from which this style inherits attributes.booleanThe source file information of the parent inheritance declaration.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(Resources.Style other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeParent(Resources.Reference value) The optinal style from which this style inherits attributes.The source file information of the parent inheritance declaration.final Resources.Style.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeEntry(int index) The set of XML attribute/value pairs for this style.setEntry(int index, Resources.Style.Entry value) The set of XML attribute/value pairs for this style.setEntry(int index, Resources.Style.Entry.Builder builderForValue) The set of XML attribute/value pairs for this style.setParent(Resources.Reference value) The optinal style from which this style inherits attributes.setParent(Resources.Reference.Builder builderForValue) The optinal style from which this style inherits attributes.setParentSource(Resources.Source value) The source file information of the parent inheritance declaration.setParentSource(Resources.Source.Builder builderForValue) The source file information of the parent inheritance declaration.final Resources.Style.BuildersetUnknownFields(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.Style.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.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.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.Style.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
-
mergeFrom
public Resources.Style.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.Style.Builder>- Throws:
IOException
-
hasParent
public boolean hasParent()The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1;- Specified by:
hasParentin interfaceResources.StyleOrBuilder- Returns:
- Whether the parent field is set.
-
getParent
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1;- Specified by:
getParentin interfaceResources.StyleOrBuilder- Returns:
- The parent.
-
setParent
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1; -
setParent
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1; -
mergeParent
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1; -
clearParent
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1; -
getParentBuilder
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1; -
getParentOrBuilder
The optinal style from which this style inherits attributes.
.aapt.pb.Reference parent = 1;- Specified by:
getParentOrBuilderin interfaceResources.StyleOrBuilder
-
hasParentSource
public boolean hasParentSource()The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2;- Specified by:
hasParentSourcein interfaceResources.StyleOrBuilder- Returns:
- Whether the parentSource field is set.
-
getParentSource
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2;- Specified by:
getParentSourcein interfaceResources.StyleOrBuilder- Returns:
- The parentSource.
-
setParentSource
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2; -
setParentSource
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2; -
mergeParentSource
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2; -
clearParentSource
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2; -
getParentSourceBuilder
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2; -
getParentSourceOrBuilder
The source file information of the parent inheritance declaration.
.aapt.pb.Source parent_source = 2;- Specified by:
getParentSourceOrBuilderin interfaceResources.StyleOrBuilder
-
getEntryList
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3;- Specified by:
getEntryListin interfaceResources.StyleOrBuilder
-
getEntryCount
public int getEntryCount()The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3;- Specified by:
getEntryCountin interfaceResources.StyleOrBuilder
-
getEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3;- Specified by:
getEntryin interfaceResources.StyleOrBuilder
-
setEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
setEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
addEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
addEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
addEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
addEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
addAllEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
clearEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
removeEntry
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
getEntryBuilder
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
getEntryOrBuilder
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3;- Specified by:
getEntryOrBuilderin interfaceResources.StyleOrBuilder
-
getEntryOrBuilderList
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3;- Specified by:
getEntryOrBuilderListin interfaceResources.StyleOrBuilder
-
addEntryBuilder
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
addEntryBuilder
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
getEntryBuilderList
The set of XML attribute/value pairs for this style.
repeated .aapt.pb.Style.Entry entry = 3; -
setUnknownFields
public final Resources.Style.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
-
mergeUnknownFields
public final Resources.Style.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Style.Builder>
-