public static enum PartOfSpeech.Tense extends java.lang.Enum<PartOfSpeech.Tense> implements ProtocolMessageEnum
Time reference.Protobuf enum
google.cloud.language.v1beta2.PartOfSpeech.Tense| Enum Constant and Description | 
|---|
| CONDITIONAL_TENSE
 Conditional | 
| FUTURE
 Future | 
| IMPERFECT
 Imperfect | 
| PAST
 Past | 
| PLUPERFECT
 Pluperfect | 
| PRESENT
 Present | 
| TENSE_UNKNOWN
 Tense is not applicable in the analyzed language or is not predicted. | 
| UNRECOGNIZED | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | CONDITIONAL_TENSE_VALUE
 Conditional | 
| static int | FUTURE_VALUE
 Future | 
| static int | IMPERFECT_VALUE
 Imperfect | 
| static int | PAST_VALUE
 Past | 
| static int | PLUPERFECT_VALUE
 Pluperfect | 
| static int | PRESENT_VALUE
 Present | 
| static int | TENSE_UNKNOWN_VALUE
 Tense is not applicable in the analyzed language or is not predicted. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PartOfSpeech.Tense | forNumber(int value) | 
| static Descriptors.EnumDescriptor | getDescriptor() | 
| Descriptors.EnumDescriptor | getDescriptorForType() | 
| int | getNumber() | 
| Descriptors.EnumValueDescriptor | getValueDescriptor() | 
| static Internal.EnumLiteMap<PartOfSpeech.Tense> | internalGetValueMap() | 
| static PartOfSpeech.Tense | valueOf(Descriptors.EnumValueDescriptor desc) | 
| static PartOfSpeech.Tense | valueOf(int value)Deprecated. 
 Use  forNumber(int)instead. | 
| static PartOfSpeech.Tense | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PartOfSpeech.Tense[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PartOfSpeech.Tense TENSE_UNKNOWN
Tense is not applicable in the analyzed language or is not predicted.
TENSE_UNKNOWN = 0;public static final PartOfSpeech.Tense CONDITIONAL_TENSE
Conditional
CONDITIONAL_TENSE = 1;public static final PartOfSpeech.Tense FUTURE
Future
FUTURE = 2;public static final PartOfSpeech.Tense PAST
Past
PAST = 3;public static final PartOfSpeech.Tense PRESENT
Present
PRESENT = 4;public static final PartOfSpeech.Tense IMPERFECT
Imperfect
IMPERFECT = 5;public static final PartOfSpeech.Tense PLUPERFECT
Pluperfect
PLUPERFECT = 6;public static final PartOfSpeech.Tense UNRECOGNIZED
public static final int TENSE_UNKNOWN_VALUE
Tense is not applicable in the analyzed language or is not predicted.
TENSE_UNKNOWN = 0;public static final int CONDITIONAL_TENSE_VALUE
Conditional
CONDITIONAL_TENSE = 1;public static final int FUTURE_VALUE
Future
FUTURE = 2;public static final int PAST_VALUE
Past
PAST = 3;public static final int PRESENT_VALUE
Present
PRESENT = 4;public static final int IMPERFECT_VALUE
Imperfect
IMPERFECT = 5;public static final int PLUPERFECT_VALUE
Pluperfect
PLUPERFECT = 6;public static PartOfSpeech.Tense[] values()
for (PartOfSpeech.Tense c : PartOfSpeech.Tense.values()) System.out.println(c);
public static PartOfSpeech.Tense valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static PartOfSpeech.Tense valueOf(int value)
forNumber(int) instead.public static PartOfSpeech.Tense forNumber(int value)
public static Internal.EnumLiteMap<PartOfSpeech.Tense> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static PartOfSpeech.Tense valueOf(Descriptors.EnumValueDescriptor desc)