Package com.google.cloud.language.v1
Enum 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 enum
google.cloud.language.v1.PartOfSpeech.Case-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAccusativeAdverbialCase is not applicable in the analyzed language or is not predicted.ComplementiveDativeGenitiveInstrumentalLocativeNominativeObliquePartitivePrepositionalReflexiveRelativeVocative -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccusativestatic final intAdverbialstatic final intCase is not applicable in the analyzed language or is not predicted.static final intComplementivestatic final intDativestatic final intGenitivestatic final intInstrumentalstatic final intLocativestatic final intNominativestatic final intObliquestatic final intPartitivestatic final intPrepositionalstatic final intReflexivestatic final intRelativestatic final intVocative -
Method Summary
Modifier and TypeMethodDescriptionstatic PartOfSpeech.CaseforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<PartOfSpeech.Case>static PartOfSpeech.CasevalueOf(int value) Deprecated.static PartOfSpeech.CasevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static PartOfSpeech.CaseReturns 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 Details
-
CASE_UNKNOWN
Case is not applicable in the analyzed language or is not predicted.
CASE_UNKNOWN = 0; -
ACCUSATIVE
Accusative
ACCUSATIVE = 1; -
ADVERBIAL
Adverbial
ADVERBIAL = 2; -
COMPLEMENTIVE
Complementive
COMPLEMENTIVE = 3; -
DATIVE
Dative
DATIVE = 4; -
GENITIVE
Genitive
GENITIVE = 5; -
INSTRUMENTAL
Instrumental
INSTRUMENTAL = 6; -
LOCATIVE
Locative
LOCATIVE = 7; -
NOMINATIVE
Nominative
NOMINATIVE = 8; -
OBLIQUE
Oblique
OBLIQUE = 9; -
PARTITIVE
Partitive
PARTITIVE = 10; -
PREPOSITIONAL
Prepositional
PREPOSITIONAL = 11; -
REFLEXIVE_CASE
Reflexive
REFLEXIVE_CASE = 12; -
RELATIVE_CASE
Relative
RELATIVE_CASE = 13; -
VOCATIVE
Vocative
VOCATIVE = 14; -
UNRECOGNIZED
-
-
Field Details
-
CASE_UNKNOWN_VALUE
public static final int CASE_UNKNOWN_VALUECase is not applicable in the analyzed language or is not predicted.
CASE_UNKNOWN = 0;- See Also:
-
ACCUSATIVE_VALUE
public static final int ACCUSATIVE_VALUEAccusative
ACCUSATIVE = 1;- See Also:
-
ADVERBIAL_VALUE
public static final int ADVERBIAL_VALUEAdverbial
ADVERBIAL = 2;- See Also:
-
COMPLEMENTIVE_VALUE
public static final int COMPLEMENTIVE_VALUEComplementive
COMPLEMENTIVE = 3;- See Also:
-
DATIVE_VALUE
public static final int DATIVE_VALUEDative
DATIVE = 4;- See Also:
-
GENITIVE_VALUE
public static final int GENITIVE_VALUEGenitive
GENITIVE = 5;- See Also:
-
INSTRUMENTAL_VALUE
public static final int INSTRUMENTAL_VALUEInstrumental
INSTRUMENTAL = 6;- See Also:
-
LOCATIVE_VALUE
public static final int LOCATIVE_VALUELocative
LOCATIVE = 7;- See Also:
-
NOMINATIVE_VALUE
public static final int NOMINATIVE_VALUENominative
NOMINATIVE = 8;- See Also:
-
OBLIQUE_VALUE
public static final int OBLIQUE_VALUEOblique
OBLIQUE = 9;- See Also:
-
PARTITIVE_VALUE
public static final int PARTITIVE_VALUEPartitive
PARTITIVE = 10;- See Also:
-
PREPOSITIONAL_VALUE
public static final int PREPOSITIONAL_VALUEPrepositional
PREPOSITIONAL = 11;- See Also:
-
REFLEXIVE_CASE_VALUE
public static final int REFLEXIVE_CASE_VALUEReflexive
REFLEXIVE_CASE = 12;- See Also:
-
RELATIVE_CASE_VALUE
public static final int RELATIVE_CASE_VALUERelative
RELATIVE_CASE = 13;- See Also:
-
VOCATIVE_VALUE
public static final int VOCATIVE_VALUEVocative
VOCATIVE = 14;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-