public static enum PartOfSpeech.Case extends Enum<PartOfSpeech.Case> implements ProtocolMessageEnum
The grammatical function performed by a noun or pronoun in a phrase, clause, or sentence. In some languages, other parts of speech, such as adjective and determiner, take case inflection in agreement with the noun.Protobuf enum
google.cloud.language.v1beta2.PartOfSpeech.Case
Enum Constant and Description |
---|
ACCUSATIVE
Accusative
|
ADVERBIAL
Adverbial
|
CASE_UNKNOWN
Case is not applicable in the analyzed language or is not predicted.
|
COMPLEMENTIVE
Complementive
|
DATIVE
Dative
|
GENITIVE
Genitive
|
INSTRUMENTAL
Instrumental
|
LOCATIVE
Locative
|
NOMINATIVE
Nominative
|
OBLIQUE
Oblique
|
PARTITIVE
Partitive
|
PREPOSITIONAL
Prepositional
|
REFLEXIVE_CASE
Reflexive
|
RELATIVE_CASE
Relative
|
UNRECOGNIZED |
VOCATIVE
Vocative
|
Modifier and Type | Field and Description |
---|---|
static int |
ACCUSATIVE_VALUE
Accusative
|
static int |
ADVERBIAL_VALUE
Adverbial
|
static int |
CASE_UNKNOWN_VALUE
Case is not applicable in the analyzed language or is not predicted.
|
static int |
COMPLEMENTIVE_VALUE
Complementive
|
static int |
DATIVE_VALUE
Dative
|
static int |
GENITIVE_VALUE
Genitive
|
static int |
INSTRUMENTAL_VALUE
Instrumental
|
static int |
LOCATIVE_VALUE
Locative
|
static int |
NOMINATIVE_VALUE
Nominative
|
static int |
OBLIQUE_VALUE
Oblique
|
static int |
PARTITIVE_VALUE
Partitive
|
static int |
PREPOSITIONAL_VALUE
Prepositional
|
static int |
REFLEXIVE_CASE_VALUE
Reflexive
|
static int |
RELATIVE_CASE_VALUE
Relative
|
static int |
VOCATIVE_VALUE
Vocative
|
Modifier and Type | Method and Description |
---|---|
static PartOfSpeech.Case |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<PartOfSpeech.Case> |
internalGetValueMap() |
static PartOfSpeech.Case |
valueOf(Descriptors.EnumValueDescriptor desc) |
static PartOfSpeech.Case |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PartOfSpeech.Case |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PartOfSpeech.Case[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PartOfSpeech.Case CASE_UNKNOWN
Case is not applicable in the analyzed language or is not predicted.
CASE_UNKNOWN = 0;
public static final PartOfSpeech.Case ACCUSATIVE
Accusative
ACCUSATIVE = 1;
public static final PartOfSpeech.Case ADVERBIAL
Adverbial
ADVERBIAL = 2;
public static final PartOfSpeech.Case COMPLEMENTIVE
Complementive
COMPLEMENTIVE = 3;
public static final PartOfSpeech.Case DATIVE
Dative
DATIVE = 4;
public static final PartOfSpeech.Case GENITIVE
Genitive
GENITIVE = 5;
public static final PartOfSpeech.Case INSTRUMENTAL
Instrumental
INSTRUMENTAL = 6;
public static final PartOfSpeech.Case LOCATIVE
Locative
LOCATIVE = 7;
public static final PartOfSpeech.Case NOMINATIVE
Nominative
NOMINATIVE = 8;
public static final PartOfSpeech.Case OBLIQUE
Oblique
OBLIQUE = 9;
public static final PartOfSpeech.Case PARTITIVE
Partitive
PARTITIVE = 10;
public static final PartOfSpeech.Case PREPOSITIONAL
Prepositional
PREPOSITIONAL = 11;
public static final PartOfSpeech.Case REFLEXIVE_CASE
Reflexive
REFLEXIVE_CASE = 12;
public static final PartOfSpeech.Case RELATIVE_CASE
Relative
RELATIVE_CASE = 13;
public static final PartOfSpeech.Case VOCATIVE
Vocative
VOCATIVE = 14;
public static final PartOfSpeech.Case UNRECOGNIZED
public static final int CASE_UNKNOWN_VALUE
Case is not applicable in the analyzed language or is not predicted.
CASE_UNKNOWN = 0;
public static final int ACCUSATIVE_VALUE
Accusative
ACCUSATIVE = 1;
public static final int ADVERBIAL_VALUE
Adverbial
ADVERBIAL = 2;
public static final int COMPLEMENTIVE_VALUE
Complementive
COMPLEMENTIVE = 3;
public static final int DATIVE_VALUE
Dative
DATIVE = 4;
public static final int GENITIVE_VALUE
Genitive
GENITIVE = 5;
public static final int INSTRUMENTAL_VALUE
Instrumental
INSTRUMENTAL = 6;
public static final int LOCATIVE_VALUE
Locative
LOCATIVE = 7;
public static final int NOMINATIVE_VALUE
Nominative
NOMINATIVE = 8;
public static final int OBLIQUE_VALUE
Oblique
OBLIQUE = 9;
public static final int PARTITIVE_VALUE
Partitive
PARTITIVE = 10;
public static final int PREPOSITIONAL_VALUE
Prepositional
PREPOSITIONAL = 11;
public static final int REFLEXIVE_CASE_VALUE
Reflexive
REFLEXIVE_CASE = 12;
public static final int RELATIVE_CASE_VALUE
Relative
RELATIVE_CASE = 13;
public static final int VOCATIVE_VALUE
Vocative
VOCATIVE = 14;
public static PartOfSpeech.Case[] values()
for (PartOfSpeech.Case c : PartOfSpeech.Case.values()) System.out.println(c);
public static PartOfSpeech.Case 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.Case valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static PartOfSpeech.Case forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<PartOfSpeech.Case> 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.Case valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.