Enum PartOfSpeech.Number (2.79.0)

publicenumPartOfSpeech.NumberextendsEnum<PartOfSpeech.Number>implementsProtocolMessageEnum

Count distinctions.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
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

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

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.