public static enum PartOfSpeech.Reciprocity extends Enum<PartOfSpeech.Reciprocity> implements ProtocolMessageEnum
Reciprocal features of a pronoun.Protobuf enum
google.cloud.language.v1beta2.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(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(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.Reciprocity valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PartOfSpeech.Reciprocity forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.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)
Copyright © 2022 Google LLC. All rights reserved.