Enum PartOfSpeech.Person (2.46.0)

publicenumPartOfSpeech.PersonextendsEnum<PartOfSpeech.Person>implementsProtocolMessageEnum

The distinction between the speaker, second person, third person, etc.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
FIRST

First

FIRST = 1;

FIRST_VALUE

First

FIRST = 1;

PERSON_UNKNOWN

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

PERSON_UNKNOWN = 0;

PERSON_UNKNOWN_VALUE

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

PERSON_UNKNOWN = 0;

REFLEXIVE_PERSON

Reflexive

REFLEXIVE_PERSON = 4;

REFLEXIVE_PERSON_VALUE

Reflexive

REFLEXIVE_PERSON = 4;

SECOND

Second

SECOND = 2;

SECOND_VALUE

Second

SECOND = 2;

THIRD

Third

THIRD = 3;

THIRD_VALUE

Third

THIRD = 3;

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.