Package com.google.cloud.language.v1
Enum PartOfSpeech.Case
- java.lang.Object
-
- java.lang.Enum<PartOfSpeech.Case>
-
- com.google.cloud.language.v1.PartOfSpeech.Case
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<PartOfSpeech.Case>
- Enclosing class:
- PartOfSpeech
public static enum PartOfSpeech.Case extends Enum<PartOfSpeech.Case> implements com.google.protobuf.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 enumgoogle.cloud.language.v1.PartOfSpeech.Case
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCUSATIVE
AccusativeADVERBIAL
AdverbialCASE_UNKNOWN
Case is not applicable in the analyzed language or is not predicted.COMPLEMENTIVE
ComplementiveDATIVE
DativeGENITIVE
GenitiveINSTRUMENTAL
InstrumentalLOCATIVE
LocativeNOMINATIVE
NominativeOBLIQUE
ObliquePARTITIVE
PartitivePREPOSITIONAL
PrepositionalREFLEXIVE_CASE
ReflexiveRELATIVE_CASE
RelativeUNRECOGNIZED
VOCATIVE
Vocative
-
Field Summary
Fields Modifier and Type Field Description static int
ACCUSATIVE_VALUE
Accusativestatic int
ADVERBIAL_VALUE
Adverbialstatic int
CASE_UNKNOWN_VALUE
Case is not applicable in the analyzed language or is not predicted.static int
COMPLEMENTIVE_VALUE
Complementivestatic int
DATIVE_VALUE
Dativestatic int
GENITIVE_VALUE
Genitivestatic int
INSTRUMENTAL_VALUE
Instrumentalstatic int
LOCATIVE_VALUE
Locativestatic int
NOMINATIVE_VALUE
Nominativestatic int
OBLIQUE_VALUE
Obliquestatic int
PARTITIVE_VALUE
Partitivestatic int
PREPOSITIONAL_VALUE
Prepositionalstatic int
REFLEXIVE_CASE_VALUE
Reflexivestatic int
RELATIVE_CASE_VALUE
Relativestatic int
VOCATIVE_VALUE
Vocative
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static PartOfSpeech.Case
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<PartOfSpeech.Case>
internalGetValueMap()
static PartOfSpeech.Case
valueOf(int value)
Deprecated.static PartOfSpeech.Case
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
CASE_UNKNOWN
public static final PartOfSpeech.Case CASE_UNKNOWN
Case is not applicable in the analyzed language or is not predicted.
CASE_UNKNOWN = 0;
-
ACCUSATIVE
public static final PartOfSpeech.Case ACCUSATIVE
Accusative
ACCUSATIVE = 1;
-
ADVERBIAL
public static final PartOfSpeech.Case ADVERBIAL
Adverbial
ADVERBIAL = 2;
-
COMPLEMENTIVE
public static final PartOfSpeech.Case COMPLEMENTIVE
Complementive
COMPLEMENTIVE = 3;
-
DATIVE
public static final PartOfSpeech.Case DATIVE
Dative
DATIVE = 4;
-
GENITIVE
public static final PartOfSpeech.Case GENITIVE
Genitive
GENITIVE = 5;
-
INSTRUMENTAL
public static final PartOfSpeech.Case INSTRUMENTAL
Instrumental
INSTRUMENTAL = 6;
-
LOCATIVE
public static final PartOfSpeech.Case LOCATIVE
Locative
LOCATIVE = 7;
-
NOMINATIVE
public static final PartOfSpeech.Case NOMINATIVE
Nominative
NOMINATIVE = 8;
-
OBLIQUE
public static final PartOfSpeech.Case OBLIQUE
Oblique
OBLIQUE = 9;
-
PARTITIVE
public static final PartOfSpeech.Case PARTITIVE
Partitive
PARTITIVE = 10;
-
PREPOSITIONAL
public static final PartOfSpeech.Case PREPOSITIONAL
Prepositional
PREPOSITIONAL = 11;
-
REFLEXIVE_CASE
public static final PartOfSpeech.Case REFLEXIVE_CASE
Reflexive
REFLEXIVE_CASE = 12;
-
RELATIVE_CASE
public static final PartOfSpeech.Case RELATIVE_CASE
Relative
RELATIVE_CASE = 13;
-
VOCATIVE
public static final PartOfSpeech.Case VOCATIVE
Vocative
VOCATIVE = 14;
-
UNRECOGNIZED
public static final PartOfSpeech.Case UNRECOGNIZED
-
-
Field Detail
-
CASE_UNKNOWN_VALUE
public static final int CASE_UNKNOWN_VALUE
Case is not applicable in the analyzed language or is not predicted.
CASE_UNKNOWN = 0;
- See Also:
- Constant Field Values
-
ACCUSATIVE_VALUE
public static final int ACCUSATIVE_VALUE
Accusative
ACCUSATIVE = 1;
- See Also:
- Constant Field Values
-
ADVERBIAL_VALUE
public static final int ADVERBIAL_VALUE
Adverbial
ADVERBIAL = 2;
- See Also:
- Constant Field Values
-
COMPLEMENTIVE_VALUE
public static final int COMPLEMENTIVE_VALUE
Complementive
COMPLEMENTIVE = 3;
- See Also:
- Constant Field Values
-
DATIVE_VALUE
public static final int DATIVE_VALUE
Dative
DATIVE = 4;
- See Also:
- Constant Field Values
-
GENITIVE_VALUE
public static final int GENITIVE_VALUE
Genitive
GENITIVE = 5;
- See Also:
- Constant Field Values
-
INSTRUMENTAL_VALUE
public static final int INSTRUMENTAL_VALUE
Instrumental
INSTRUMENTAL = 6;
- See Also:
- Constant Field Values
-
LOCATIVE_VALUE
public static final int LOCATIVE_VALUE
Locative
LOCATIVE = 7;
- See Also:
- Constant Field Values
-
NOMINATIVE_VALUE
public static final int NOMINATIVE_VALUE
Nominative
NOMINATIVE = 8;
- See Also:
- Constant Field Values
-
OBLIQUE_VALUE
public static final int OBLIQUE_VALUE
Oblique
OBLIQUE = 9;
- See Also:
- Constant Field Values
-
PARTITIVE_VALUE
public static final int PARTITIVE_VALUE
Partitive
PARTITIVE = 10;
- See Also:
- Constant Field Values
-
PREPOSITIONAL_VALUE
public static final int PREPOSITIONAL_VALUE
Prepositional
PREPOSITIONAL = 11;
- See Also:
- Constant Field Values
-
REFLEXIVE_CASE_VALUE
public static final int REFLEXIVE_CASE_VALUE
Reflexive
REFLEXIVE_CASE = 12;
- See Also:
- Constant Field Values
-
RELATIVE_CASE_VALUE
public static final int RELATIVE_CASE_VALUE
Relative
RELATIVE_CASE = 13;
- See Also:
- Constant Field Values
-
VOCATIVE_VALUE
public static final int VOCATIVE_VALUE
Vocative
VOCATIVE = 14;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static PartOfSpeech.Case[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PartOfSpeech.Case c : PartOfSpeech.Case.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PartOfSpeech.Case valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static PartOfSpeech.Case valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static PartOfSpeech.Case forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<PartOfSpeech.Case> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static PartOfSpeech.Case valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-