public static enum PartOfSpeech.Proper extends Enum<PartOfSpeech.Proper> implements ProtocolMessageEnum
This category shows if the token is part of a proper name.Protobuf enum
google.cloud.language.v1.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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static PartOfSpeech.Proper valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PartOfSpeech.Proper forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<PartOfSpeech.Proper> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static PartOfSpeech.Proper valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.