Package com.android.aapt
Class Resources.Plural.Entry.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Resources.Plural.Entry.Builder>
com.android.aapt.Resources.Plural.Entry.Builder
- All Implemented Interfaces:
Resources.Plural.EntryOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Resources.Plural.Entry
public static final class Resources.Plural.Entry.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Resources.Plural.Entry.Builder>
implements Resources.Plural.EntryOrBuilder
The plural value for a given arity.Protobuf type
aapt.pb.Plural.Entry-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The arity of the plural.Any comments associated with the plural.The value assigned to this plural.Where the plural was defined.getArity()The arity of the plural.intThe arity of the plural.Any comments associated with the plural.com.google.protobuf.ByteStringAny comments associated with the plural.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetItem()The value assigned to this plural.The value assigned to this plural.The value assigned to this plural.Where the plural was defined.Where the plural was defined.Where the plural was defined.booleanhasItem()The value assigned to this plural.booleanWhere the plural was defined.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(Resources.Plural.Entry other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeItem(Resources.Item value) The value assigned to this plural.mergeSource(Resources.Source value) Where the plural was defined.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setArity(Resources.Plural.Arity value) The arity of the plural.setArityValue(int value) The arity of the plural.setComment(String value) Any comments associated with the plural.setCommentBytes(com.google.protobuf.ByteString value) Any comments associated with the plural.setItem(Resources.Item value) The value assigned to this plural.setItem(Resources.Item.Builder builderForValue) The value assigned to this plural.setSource(Resources.Source value) Where the plural was defined.setSource(Resources.Source.Builder builderForValue) Where the plural was defined.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.Plural.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.Plural.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.Plural.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.Plural.Entry.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Plural.Entry.Builder>
-
mergeFrom
public Resources.Plural.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.Plural.Entry.Builder>- Throws:
IOException
-
hasSource
public boolean hasSource()Where the plural was defined.
.aapt.pb.Source source = 1;- Specified by:
hasSourcein interfaceResources.Plural.EntryOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Where the plural was defined.
.aapt.pb.Source source = 1;- Specified by:
getSourcein interfaceResources.Plural.EntryOrBuilder- Returns:
- The source.
-
setSource
Where the plural was defined.
.aapt.pb.Source source = 1; -
setSource
Where the plural was defined.
.aapt.pb.Source source = 1; -
mergeSource
Where the plural was defined.
.aapt.pb.Source source = 1; -
clearSource
Where the plural was defined.
.aapt.pb.Source source = 1; -
getSourceBuilder
Where the plural was defined.
.aapt.pb.Source source = 1; -
getSourceOrBuilder
Where the plural was defined.
.aapt.pb.Source source = 1;- Specified by:
getSourceOrBuilderin interfaceResources.Plural.EntryOrBuilder
-
getComment
Any comments associated with the plural.
string comment = 2;- Specified by:
getCommentin interfaceResources.Plural.EntryOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()Any comments associated with the plural.
string comment = 2;- Specified by:
getCommentBytesin interfaceResources.Plural.EntryOrBuilder- Returns:
- The bytes for comment.
-
setComment
Any comments associated with the plural.
string comment = 2;- Parameters:
value- The comment to set.- Returns:
- This builder for chaining.
-
clearComment
Any comments associated with the plural.
string comment = 2;- Returns:
- This builder for chaining.
-
setCommentBytes
Any comments associated with the plural.
string comment = 2;- Parameters:
value- The bytes for comment to set.- Returns:
- This builder for chaining.
-
getArityValue
public int getArityValue()The arity of the plural.
.aapt.pb.Plural.Arity arity = 3;- Specified by:
getArityValuein interfaceResources.Plural.EntryOrBuilder- Returns:
- The enum numeric value on the wire for arity.
-
setArityValue
The arity of the plural.
.aapt.pb.Plural.Arity arity = 3;- Parameters:
value- The enum numeric value on the wire for arity to set.- Returns:
- This builder for chaining.
-
getArity
The arity of the plural.
.aapt.pb.Plural.Arity arity = 3;- Specified by:
getArityin interfaceResources.Plural.EntryOrBuilder- Returns:
- The arity.
-
setArity
The arity of the plural.
.aapt.pb.Plural.Arity arity = 3;- Parameters:
value- The arity to set.- Returns:
- This builder for chaining.
-
clearArity
The arity of the plural.
.aapt.pb.Plural.Arity arity = 3;- Returns:
- This builder for chaining.
-
hasItem
public boolean hasItem()The value assigned to this plural.
.aapt.pb.Item item = 4;- Specified by:
hasItemin interfaceResources.Plural.EntryOrBuilder- Returns:
- Whether the item field is set.
-
getItem
The value assigned to this plural.
.aapt.pb.Item item = 4;- Specified by:
getItemin interfaceResources.Plural.EntryOrBuilder- Returns:
- The item.
-
setItem
The value assigned to this plural.
.aapt.pb.Item item = 4; -
setItem
The value assigned to this plural.
.aapt.pb.Item item = 4; -
mergeItem
The value assigned to this plural.
.aapt.pb.Item item = 4; -
clearItem
The value assigned to this plural.
.aapt.pb.Item item = 4; -
getItemBuilder
The value assigned to this plural.
.aapt.pb.Item item = 4; -
getItemOrBuilder
The value assigned to this plural.
.aapt.pb.Item item = 4;- Specified by:
getItemOrBuilderin interfaceResources.Plural.EntryOrBuilder
-
setUnknownFields
public final Resources.Plural.Entry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Plural.Entry.Builder>
-
mergeUnknownFields
public final Resources.Plural.Entry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Resources.Plural.Entry.Builder>
-