public static enum PartOfSpeech.Gender extends java.lang.Enum<PartOfSpeech.Gender> implements ProtocolMessageEnum
Gender classes of nouns reflected in the behaviour of associated words.Protobuf enum
google.cloud.language.v1beta2.PartOfSpeech.Gender| Enum Constant and Description | 
|---|
| FEMININE
 Feminine | 
| GENDER_UNKNOWN
 Gender is not applicable in the analyzed language or is not predicted. | 
| MASCULINE
 Masculine | 
| NEUTER
 Neuter | 
| UNRECOGNIZED | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | FEMININE_VALUE
 Feminine | 
| static int | GENDER_UNKNOWN_VALUE
 Gender is not applicable in the analyzed language or is not predicted. | 
| static int | MASCULINE_VALUE
 Masculine | 
| static int | NEUTER_VALUE
 Neuter | 
| Modifier and Type | Method and Description | 
|---|---|
| static PartOfSpeech.Gender | forNumber(int value) | 
| static Descriptors.EnumDescriptor | getDescriptor() | 
| Descriptors.EnumDescriptor | getDescriptorForType() | 
| int | getNumber() | 
| Descriptors.EnumValueDescriptor | getValueDescriptor() | 
| static Internal.EnumLiteMap<PartOfSpeech.Gender> | internalGetValueMap() | 
| static PartOfSpeech.Gender | valueOf(Descriptors.EnumValueDescriptor desc) | 
| static PartOfSpeech.Gender | valueOf(int value)Deprecated. 
 Use  forNumber(int)instead. | 
| static PartOfSpeech.Gender | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PartOfSpeech.Gender[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PartOfSpeech.Gender GENDER_UNKNOWN
Gender is not applicable in the analyzed language or is not predicted.
GENDER_UNKNOWN = 0;public static final PartOfSpeech.Gender FEMININE
Feminine
FEMININE = 1;public static final PartOfSpeech.Gender MASCULINE
Masculine
MASCULINE = 2;public static final PartOfSpeech.Gender NEUTER
Neuter
NEUTER = 3;public static final PartOfSpeech.Gender UNRECOGNIZED
public static final int GENDER_UNKNOWN_VALUE
Gender is not applicable in the analyzed language or is not predicted.
GENDER_UNKNOWN = 0;public static final int FEMININE_VALUE
Feminine
FEMININE = 1;public static final int MASCULINE_VALUE
Masculine
MASCULINE = 2;public static final int NEUTER_VALUE
Neuter
NEUTER = 3;public static PartOfSpeech.Gender[] values()
for (PartOfSpeech.Gender c : PartOfSpeech.Gender.values()) System.out.println(c);
public static PartOfSpeech.Gender 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.Gender valueOf(int value)
forNumber(int) instead.public static PartOfSpeech.Gender forNumber(int value)
public static Internal.EnumLiteMap<PartOfSpeech.Gender> 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.Gender valueOf(Descriptors.EnumValueDescriptor desc)