booster / com.didiglobal.booster.aapt2 / Resources / Plural / Builder

Builder

class Builder : Builder<Builder!>, PluralOrBuilder


      A value that represents a string and its many variations based on plurality.
      
Protobuf type aapt.pb.Plural

Functions

addAllEntry


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun addAllEntry(values: MutableIterable<Entry!>!): Builder!

addEntry


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun addEntry(value: Entry!): Builder!
fun addEntry(index: Int, value: Entry!): Builder!
fun addEntry(builderForValue: Builder!): Builder!
fun addEntry(index: Int, builderForValue: Builder!): Builder!

addEntryBuilder


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun addEntryBuilder(): Builder!
fun addEntryBuilder(index: Int): Builder!

addRepeatedField

fun addRepeatedField(field: FieldDescriptor!, value: Any!): Builder!

build

fun build(): Plural!

buildPartial

fun buildPartial(): Plural!

clear

fun clear(): Builder!

clearEntry


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun clearEntry(): Builder!

clearField

fun clearField(field: FieldDescriptor!): Builder!

clearOneof

fun clearOneof(oneof: OneofDescriptor!): Builder!

clone

fun clone(): Builder!

getDefaultInstanceForType

fun getDefaultInstanceForType(): Plural!

getDescriptor

static fun getDescriptor(): Descriptor!

getDescriptorForType

fun getDescriptorForType(): Descriptor!

getEntry


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntry(index: Int): Entry!

getEntryBuilder


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntryBuilder(index: Int): Builder!

getEntryBuilderList


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntryBuilderList(): MutableList<Builder!>!

getEntryCount


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntryCount(): Int

getEntryList


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntryList(): MutableList<Entry!>!

getEntryOrBuilder


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntryOrBuilder(index: Int): EntryOrBuilder!

getEntryOrBuilderList


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun getEntryOrBuilderList(): MutableList<out EntryOrBuilder!>!

internalGetFieldAccessorTable

fun internalGetFieldAccessorTable(): FieldAccessorTable!

isInitialized

fun isInitialized(): Boolean

mergeFrom

fun mergeFrom(other: Message!): Builder!
fun mergeFrom(other: Plural!): Builder!
fun mergeFrom(input: CodedInputStream!, extensionRegistry: ExtensionRegistryLite!): Builder!

mergeUnknownFields

fun mergeUnknownFields(unknownFields: UnknownFieldSet!): Builder!

removeEntry


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun removeEntry(index: Int): Builder!

setEntry


        The set of arity/plural mappings.
        
repeated .aapt.pb.Plural.Entry entry = 1;

fun setEntry(index: Int, value: Entry!): Builder!
fun setEntry(index: Int, builderForValue: Builder!): Builder!

setField

fun setField(field: FieldDescriptor!, value: Any!): Builder!

setRepeatedField

fun setRepeatedField(field: FieldDescriptor!, index: Int, value: Any!): Builder!

setUnknownFields

fun setUnknownFields(unknownFields: UnknownFieldSet!): Builder!