Enum PartOfSpeech.Number (2.6.0)

public enum PartOfSpeech.Number extends Enum<PartOfSpeech.Number> implements ProtocolMessageEnum

Count distinctions.

Protobuf enum google.cloud.language.v1.PartOfSpeech.Number

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DUAL

Dual

DUAL = 3;

DUAL_VALUE

Dual

DUAL = 3;

NUMBER_UNKNOWN

Number is not applicable in the analyzed language or is not predicted.

NUMBER_UNKNOWN = 0;

NUMBER_UNKNOWN_VALUE

Number is not applicable in the analyzed language or is not predicted.

NUMBER_UNKNOWN = 0;

PLURAL

Plural

PLURAL = 2;

PLURAL_VALUE

Plural

PLURAL = 2;

SINGULAR

Singular

SINGULAR = 1;

SINGULAR_VALUE

Singular

SINGULAR = 1;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()