public static enum PartOfSpeech.Form extends java.lang.Enum<PartOfSpeech.Form> implements ProtocolMessageEnum
Depending on the language, Form can be categorizing different forms of verbs, adjectives, adverbs, etc. For example, categorizing inflected endings of verbs and adjectives or distinguishing between short and long forms of adjectives and participlesProtobuf enum
google.cloud.language.v1beta2.PartOfSpeech.Form| Enum Constant and Description | 
|---|
| ADNOMIAL
 Adnomial | 
| AUXILIARY
 Auxiliary | 
| COMPLEMENTIZER
 Complementizer | 
| FINAL_ENDING
 Final ending | 
| FORM_UNKNOWN
 Form is not applicable in the analyzed language or is not predicted. | 
| GERUND
 Gerund | 
| IRREALIS
 Irrealis | 
| LONG
 Long form | 
| ORDER
 Order form | 
| REALIS
 Realis | 
| SHORT
 Short form | 
| SPECIFIC
 Specific form | 
| UNRECOGNIZED | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | ADNOMIAL_VALUE
 Adnomial | 
| static int | AUXILIARY_VALUE
 Auxiliary | 
| static int | COMPLEMENTIZER_VALUE
 Complementizer | 
| static int | FINAL_ENDING_VALUE
 Final ending | 
| static int | FORM_UNKNOWN_VALUE
 Form is not applicable in the analyzed language or is not predicted. | 
| static int | GERUND_VALUE
 Gerund | 
| static int | IRREALIS_VALUE
 Irrealis | 
| static int | LONG_VALUE
 Long form | 
| static int | ORDER_VALUE
 Order form | 
| static int | REALIS_VALUE
 Realis | 
| static int | SHORT_VALUE
 Short form | 
| static int | SPECIFIC_VALUE
 Specific form | 
| Modifier and Type | Method and Description | 
|---|---|
| static PartOfSpeech.Form | forNumber(int value) | 
| static Descriptors.EnumDescriptor | getDescriptor() | 
| Descriptors.EnumDescriptor | getDescriptorForType() | 
| int | getNumber() | 
| Descriptors.EnumValueDescriptor | getValueDescriptor() | 
| static Internal.EnumLiteMap<PartOfSpeech.Form> | internalGetValueMap() | 
| static PartOfSpeech.Form | valueOf(Descriptors.EnumValueDescriptor desc) | 
| static PartOfSpeech.Form | valueOf(int value)Deprecated. 
 Use  forNumber(int)instead. | 
| static PartOfSpeech.Form | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PartOfSpeech.Form[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PartOfSpeech.Form FORM_UNKNOWN
Form is not applicable in the analyzed language or is not predicted.
FORM_UNKNOWN = 0;public static final PartOfSpeech.Form ADNOMIAL
Adnomial
ADNOMIAL = 1;public static final PartOfSpeech.Form AUXILIARY
Auxiliary
AUXILIARY = 2;public static final PartOfSpeech.Form COMPLEMENTIZER
Complementizer
COMPLEMENTIZER = 3;public static final PartOfSpeech.Form FINAL_ENDING
Final ending
FINAL_ENDING = 4;public static final PartOfSpeech.Form GERUND
Gerund
GERUND = 5;public static final PartOfSpeech.Form REALIS
Realis
REALIS = 6;public static final PartOfSpeech.Form IRREALIS
Irrealis
IRREALIS = 7;public static final PartOfSpeech.Form SHORT
Short form
SHORT = 8;public static final PartOfSpeech.Form LONG
Long form
LONG = 9;public static final PartOfSpeech.Form ORDER
Order form
ORDER = 10;public static final PartOfSpeech.Form SPECIFIC
Specific form
SPECIFIC = 11;public static final PartOfSpeech.Form UNRECOGNIZED
public static final int FORM_UNKNOWN_VALUE
Form is not applicable in the analyzed language or is not predicted.
FORM_UNKNOWN = 0;public static final int ADNOMIAL_VALUE
Adnomial
ADNOMIAL = 1;public static final int AUXILIARY_VALUE
Auxiliary
AUXILIARY = 2;public static final int COMPLEMENTIZER_VALUE
Complementizer
COMPLEMENTIZER = 3;public static final int FINAL_ENDING_VALUE
Final ending
FINAL_ENDING = 4;public static final int GERUND_VALUE
Gerund
GERUND = 5;public static final int REALIS_VALUE
Realis
REALIS = 6;public static final int IRREALIS_VALUE
Irrealis
IRREALIS = 7;public static final int SHORT_VALUE
Short form
SHORT = 8;public static final int LONG_VALUE
Long form
LONG = 9;public static final int ORDER_VALUE
Order form
ORDER = 10;public static final int SPECIFIC_VALUE
Specific form
SPECIFIC = 11;public static PartOfSpeech.Form[] values()
for (PartOfSpeech.Form c : PartOfSpeech.Form.values()) System.out.println(c);
public static PartOfSpeech.Form 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.Form valueOf(int value)
forNumber(int) instead.public static PartOfSpeech.Form forNumber(int value)
public static Internal.EnumLiteMap<PartOfSpeech.Form> 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.Form valueOf(Descriptors.EnumValueDescriptor desc)