Enum PartOfSpeech.Tense (2.76.0)

publicenumPartOfSpeech.TenseextendsEnum<PartOfSpeech.Tense>implementsProtocolMessageEnum

Time reference.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONDITIONAL_TENSE

Conditional

CONDITIONAL_TENSE = 1;

CONDITIONAL_TENSE_VALUE

Conditional

CONDITIONAL_TENSE = 1;

FUTURE

Future

FUTURE = 2;

FUTURE_VALUE

Future

FUTURE = 2;

IMPERFECT

Imperfect

IMPERFECT = 5;

IMPERFECT_VALUE

Imperfect

IMPERFECT = 5;

PAST

Past

PAST = 3;

PAST_VALUE

Past

PAST = 3;

PLUPERFECT

Pluperfect

PLUPERFECT = 6;

PLUPERFECT_VALUE

Pluperfect

PLUPERFECT = 6;

PRESENT

Present

PRESENT = 4;

PRESENT_VALUE

Present

PRESENT = 4;

TENSE_UNKNOWN

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

TENSE_UNKNOWN = 0;

TENSE_UNKNOWN_VALUE

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

TENSE_UNKNOWN = 0;

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.