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

Arity

class Arity : ProtocolMessageEnum


      The arity of the plural.
      
Protobuf enum aapt.pb.Plural.Arity

Enum Values

ZERO

ONE

TWO

FEW

MANY

OTHER

UNRECOGNIZED

Properties

FEW_VALUE

FEW = 3;

static val FEW_VALUE: Int

MANY_VALUE

MANY = 4;

static val MANY_VALUE: Int

ONE_VALUE

ONE = 1;

static val ONE_VALUE: Int

OTHER_VALUE

OTHER = 5;

static val OTHER_VALUE: Int

TWO_VALUE

TWO = 2;

static val TWO_VALUE: Int

ZERO_VALUE

ZERO = 0;

static val ZERO_VALUE: Int

Functions

forNumber

static fun forNumber(value: Int): Arity!

getDescriptor

static fun getDescriptor(): EnumDescriptor!

getDescriptorForType

fun getDescriptorForType(): EnumDescriptor!

getNumber

fun getNumber(): Int

getValueDescriptor

fun getValueDescriptor(): EnumValueDescriptor!

internalGetValueMap

static fun internalGetValueMap(): EnumLiteMap<Arity!>!

valueOf

static fun valueOf(value: Int): Arity!
static fun valueOf(desc: EnumValueDescriptor!): Arity!