Enum PartOfSpeech.Mood (2.24.0)

publicenumPartOfSpeech.MoodextendsEnum<PartOfSpeech.Mood>implementsProtocolMessageEnum

The grammatical feature of verbs, used for showing modality and attitude.

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

Implements

ProtocolMessageEnum

Static Fields

Name Description
CONDITIONAL_MOOD

Conditional

CONDITIONAL_MOOD = 1;

CONDITIONAL_MOOD_VALUE

Conditional

CONDITIONAL_MOOD = 1;

IMPERATIVE

Imperative

IMPERATIVE = 2;

IMPERATIVE_VALUE

Imperative

IMPERATIVE = 2;

INDICATIVE

Indicative

INDICATIVE = 3;

INDICATIVE_VALUE

Indicative

INDICATIVE = 3;

INTERROGATIVE

Interrogative

INTERROGATIVE = 4;

INTERROGATIVE_VALUE

Interrogative

INTERROGATIVE = 4;

JUSSIVE

Jussive

JUSSIVE = 5;

JUSSIVE_VALUE

Jussive

JUSSIVE = 5;

MOOD_UNKNOWN

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

MOOD_UNKNOWN = 0;

MOOD_UNKNOWN_VALUE

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

MOOD_UNKNOWN = 0;

SUBJUNCTIVE

Subjunctive

SUBJUNCTIVE = 6;

SUBJUNCTIVE_VALUE

Subjunctive

SUBJUNCTIVE = 6;

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.