public static enum PartOfSpeech.Mood extends Enum<PartOfSpeech.Mood> implements ProtocolMessageEnum
The grammatical feature of verbs, used for showing modality and attitude.Protobuf enum
google.cloud.language.v1.PartOfSpeech.Mood
Enum Constant and Description |
---|
CONDITIONAL_MOOD
Conditional
|
IMPERATIVE
Imperative
|
INDICATIVE
Indicative
|
INTERROGATIVE
Interrogative
|
JUSSIVE
Jussive
|
MOOD_UNKNOWN
Mood is not applicable in the analyzed language or is not predicted.
|
SUBJUNCTIVE
Subjunctive
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CONDITIONAL_MOOD_VALUE
Conditional
|
static int |
IMPERATIVE_VALUE
Imperative
|
static int |
INDICATIVE_VALUE
Indicative
|
static int |
INTERROGATIVE_VALUE
Interrogative
|
static int |
JUSSIVE_VALUE
Jussive
|
static int |
MOOD_UNKNOWN_VALUE
Mood is not applicable in the analyzed language or is not predicted.
|
static int |
SUBJUNCTIVE_VALUE
Subjunctive
|
Modifier and Type | Method and Description |
---|---|
static PartOfSpeech.Mood |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<PartOfSpeech.Mood> |
internalGetValueMap() |
static PartOfSpeech.Mood |
valueOf(Descriptors.EnumValueDescriptor desc) |
static PartOfSpeech.Mood |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PartOfSpeech.Mood |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartOfSpeech.Mood[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartOfSpeech.Mood MOOD_UNKNOWN
Mood is not applicable in the analyzed language or is not predicted.
MOOD_UNKNOWN = 0;
public static final PartOfSpeech.Mood CONDITIONAL_MOOD
Conditional
CONDITIONAL_MOOD = 1;
public static final PartOfSpeech.Mood IMPERATIVE
Imperative
IMPERATIVE = 2;
public static final PartOfSpeech.Mood INDICATIVE
Indicative
INDICATIVE = 3;
public static final PartOfSpeech.Mood INTERROGATIVE
Interrogative
INTERROGATIVE = 4;
public static final PartOfSpeech.Mood JUSSIVE
Jussive
JUSSIVE = 5;
public static final PartOfSpeech.Mood SUBJUNCTIVE
Subjunctive
SUBJUNCTIVE = 6;
public static final PartOfSpeech.Mood UNRECOGNIZED
public static final int MOOD_UNKNOWN_VALUE
Mood is not applicable in the analyzed language or is not predicted.
MOOD_UNKNOWN = 0;
public static final int CONDITIONAL_MOOD_VALUE
Conditional
CONDITIONAL_MOOD = 1;
public static final int IMPERATIVE_VALUE
Imperative
IMPERATIVE = 2;
public static final int INDICATIVE_VALUE
Indicative
INDICATIVE = 3;
public static final int INTERROGATIVE_VALUE
Interrogative
INTERROGATIVE = 4;
public static final int JUSSIVE_VALUE
Jussive
JUSSIVE = 5;
public static final int SUBJUNCTIVE_VALUE
Subjunctive
SUBJUNCTIVE = 6;
public static PartOfSpeech.Mood[] values()
for (PartOfSpeech.Mood c : PartOfSpeech.Mood.values()) System.out.println(c);
public static PartOfSpeech.Mood valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static PartOfSpeech.Mood valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PartOfSpeech.Mood forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<PartOfSpeech.Mood> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static PartOfSpeech.Mood valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.