public static enum PartOfSpeech.Proper extends java.lang.Enum<PartOfSpeech.Proper> implements ProtocolMessageEnum
This category shows if the token is part of a proper name.Protobuf enum
google.cloud.language.v1beta2.PartOfSpeech.Proper| Enum Constant and Description | 
|---|
| NOT_PROPER
 Not proper | 
| PROPER
 Proper | 
| PROPER_UNKNOWN
 Proper is not applicable in the analyzed language or is not predicted. | 
| UNRECOGNIZED | 
| Modifier and Type | Field and Description | 
|---|---|
| static int | NOT_PROPER_VALUE
 Not proper | 
| static int | PROPER_UNKNOWN_VALUE
 Proper is not applicable in the analyzed language or is not predicted. | 
| static int | PROPER_VALUE
 Proper | 
| Modifier and Type | Method and Description | 
|---|---|
| static PartOfSpeech.Proper | forNumber(int value) | 
| static Descriptors.EnumDescriptor | getDescriptor() | 
| Descriptors.EnumDescriptor | getDescriptorForType() | 
| int | getNumber() | 
| Descriptors.EnumValueDescriptor | getValueDescriptor() | 
| static Internal.EnumLiteMap<PartOfSpeech.Proper> | internalGetValueMap() | 
| static PartOfSpeech.Proper | valueOf(Descriptors.EnumValueDescriptor desc) | 
| static PartOfSpeech.Proper | valueOf(int value)Deprecated. 
 Use  forNumber(int)instead. | 
| static PartOfSpeech.Proper | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static PartOfSpeech.Proper[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final PartOfSpeech.Proper PROPER_UNKNOWN
Proper is not applicable in the analyzed language or is not predicted.
PROPER_UNKNOWN = 0;public static final PartOfSpeech.Proper PROPER
Proper
PROPER = 1;public static final PartOfSpeech.Proper NOT_PROPER
Not proper
NOT_PROPER = 2;public static final PartOfSpeech.Proper UNRECOGNIZED
public static final int PROPER_UNKNOWN_VALUE
Proper is not applicable in the analyzed language or is not predicted.
PROPER_UNKNOWN = 0;public static final int PROPER_VALUE
Proper
PROPER = 1;public static final int NOT_PROPER_VALUE
Not proper
NOT_PROPER = 2;public static PartOfSpeech.Proper[] values()
for (PartOfSpeech.Proper c : PartOfSpeech.Proper.values()) System.out.println(c);
public static PartOfSpeech.Proper 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.Proper valueOf(int value)
forNumber(int) instead.public static PartOfSpeech.Proper forNumber(int value)
public static Internal.EnumLiteMap<PartOfSpeech.Proper> 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.Proper valueOf(Descriptors.EnumValueDescriptor desc)