public static enum PartOfSpeech.Reciprocity extends java.lang.Enum<PartOfSpeech.Reciprocity> implements ProtocolMessageEnum
Reciprocal features of a pronoun.Protobuf enum
google.cloud.language.v1.PartOfSpeech.Reciprocity
Enum Constant and Description |
---|
NON_RECIPROCAL
Non-reciprocal
|
RECIPROCAL
Reciprocal
|
RECIPROCITY_UNKNOWN
Reciprocity is not applicable in the analyzed language or is not
predicted.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
NON_RECIPROCAL_VALUE
Non-reciprocal
|
static int |
RECIPROCAL_VALUE
Reciprocal
|
static int |
RECIPROCITY_UNKNOWN_VALUE
Reciprocity is not applicable in the analyzed language or is not
predicted.
|
Modifier and Type | Method and Description |
---|---|
static PartOfSpeech.Reciprocity |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<PartOfSpeech.Reciprocity> |
internalGetValueMap() |
static PartOfSpeech.Reciprocity |
valueOf(Descriptors.EnumValueDescriptor desc) |
static PartOfSpeech.Reciprocity |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PartOfSpeech.Reciprocity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PartOfSpeech.Reciprocity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartOfSpeech.Reciprocity RECIPROCITY_UNKNOWN
Reciprocity is not applicable in the analyzed language or is not predicted.
RECIPROCITY_UNKNOWN = 0;
public static final PartOfSpeech.Reciprocity RECIPROCAL
Reciprocal
RECIPROCAL = 1;
public static final PartOfSpeech.Reciprocity NON_RECIPROCAL
Non-reciprocal
NON_RECIPROCAL = 2;
public static final PartOfSpeech.Reciprocity UNRECOGNIZED
public static final int RECIPROCITY_UNKNOWN_VALUE
Reciprocity is not applicable in the analyzed language or is not predicted.
RECIPROCITY_UNKNOWN = 0;
public static final int RECIPROCAL_VALUE
Reciprocal
RECIPROCAL = 1;
public static final int NON_RECIPROCAL_VALUE
Non-reciprocal
NON_RECIPROCAL = 2;
public static PartOfSpeech.Reciprocity[] values()
for (PartOfSpeech.Reciprocity c : PartOfSpeech.Reciprocity.values()) System.out.println(c);
public static PartOfSpeech.Reciprocity 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.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static PartOfSpeech.Reciprocity valueOf(int value)
forNumber(int)
instead.public static PartOfSpeech.Reciprocity forNumber(int value)
public static Internal.EnumLiteMap<PartOfSpeech.Reciprocity> 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.Reciprocity valueOf(Descriptors.EnumValueDescriptor desc)