public static enum PartOfSpeech.Aspect extends java.lang.Enum<PartOfSpeech.Aspect> implements ProtocolMessageEnum
The characteristic of a verb that expresses time flow during an event.Protobuf enum
google.cloud.language.v1beta2.PartOfSpeech.Aspect| Enum Constant and Description | 
|---|
| ASPECT_UNKNOWN
 Aspect is not applicable in the analyzed language or is not predicted. | 
| IMPERFECTIVE
 Imperfective | 
| PERFECTIVE
 Perfective | 
| PROGRESSIVE
 Progressive | 
| UNRECOGNIZED | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | ASPECT_UNKNOWN_VALUE
 Aspect is not applicable in the analyzed language or is not predicted. | 
| static int | IMPERFECTIVE_VALUE
 Imperfective | 
| static int | PERFECTIVE_VALUE
 Perfective | 
| static int | PROGRESSIVE_VALUE
 Progressive | 
| Modifier and Type | Method and Description | 
|---|---|
| static PartOfSpeech.Aspect | forNumber(int value) | 
| static Descriptors.EnumDescriptor | getDescriptor() | 
| Descriptors.EnumDescriptor | getDescriptorForType() | 
| int | getNumber() | 
| Descriptors.EnumValueDescriptor | getValueDescriptor() | 
| static Internal.EnumLiteMap<PartOfSpeech.Aspect> | internalGetValueMap() | 
| static PartOfSpeech.Aspect | valueOf(Descriptors.EnumValueDescriptor desc) | 
| static PartOfSpeech.Aspect | valueOf(int value)Deprecated. 
 Use  forNumber(int)instead. | 
| static PartOfSpeech.Aspect | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PartOfSpeech.Aspect[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PartOfSpeech.Aspect ASPECT_UNKNOWN
Aspect is not applicable in the analyzed language or is not predicted.
ASPECT_UNKNOWN = 0;public static final PartOfSpeech.Aspect PERFECTIVE
Perfective
PERFECTIVE = 1;public static final PartOfSpeech.Aspect IMPERFECTIVE
Imperfective
IMPERFECTIVE = 2;public static final PartOfSpeech.Aspect PROGRESSIVE
Progressive
PROGRESSIVE = 3;public static final PartOfSpeech.Aspect UNRECOGNIZED
public static final int ASPECT_UNKNOWN_VALUE
Aspect is not applicable in the analyzed language or is not predicted.
ASPECT_UNKNOWN = 0;public static final int PERFECTIVE_VALUE
Perfective
PERFECTIVE = 1;public static final int IMPERFECTIVE_VALUE
Imperfective
IMPERFECTIVE = 2;public static final int PROGRESSIVE_VALUE
Progressive
PROGRESSIVE = 3;public static PartOfSpeech.Aspect[] values()
for (PartOfSpeech.Aspect c : PartOfSpeech.Aspect.values()) System.out.println(c);
public static PartOfSpeech.Aspect 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.Aspect valueOf(int value)
forNumber(int) instead.public static PartOfSpeech.Aspect forNumber(int value)
public static Internal.EnumLiteMap<PartOfSpeech.Aspect> 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.Aspect valueOf(Descriptors.EnumValueDescriptor desc)