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 enum google.cloud.language.v1.PartOfSpeech.Case
  • Enum Constant Details

    • 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 Details

    • 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:
    • ACCUSATIVE_VALUE

      public static final int ACCUSATIVE_VALUE
       Accusative
       
      ACCUSATIVE = 1;
      See Also:
    • ADVERBIAL_VALUE

      public static final int ADVERBIAL_VALUE
       Adverbial
       
      ADVERBIAL = 2;
      See Also:
    • COMPLEMENTIVE_VALUE

      public static final int COMPLEMENTIVE_VALUE
       Complementive
       
      COMPLEMENTIVE = 3;
      See Also:
    • DATIVE_VALUE

      public static final int DATIVE_VALUE
       Dative
       
      DATIVE = 4;
      See Also:
    • GENITIVE_VALUE

      public static final int GENITIVE_VALUE
       Genitive
       
      GENITIVE = 5;
      See Also:
    • INSTRUMENTAL_VALUE

      public static final int INSTRUMENTAL_VALUE
       Instrumental
       
      INSTRUMENTAL = 6;
      See Also:
    • LOCATIVE_VALUE

      public static final int LOCATIVE_VALUE
       Locative
       
      LOCATIVE = 7;
      See Also:
    • NOMINATIVE_VALUE

      public static final int NOMINATIVE_VALUE
       Nominative
       
      NOMINATIVE = 8;
      See Also:
    • OBLIQUE_VALUE

      public static final int OBLIQUE_VALUE
       Oblique
       
      OBLIQUE = 9;
      See Also:
    • PARTITIVE_VALUE

      public static final int PARTITIVE_VALUE
       Partitive
       
      PARTITIVE = 10;
      See Also:
    • PREPOSITIONAL_VALUE

      public static final int PREPOSITIONAL_VALUE
       Prepositional
       
      PREPOSITIONAL = 11;
      See Also:
    • REFLEXIVE_CASE_VALUE

      public static final int REFLEXIVE_CASE_VALUE
       Reflexive
       
      REFLEXIVE_CASE = 12;
      See Also:
    • RELATIVE_CASE_VALUE

      public static final int RELATIVE_CASE_VALUE
       Relative
       
      RELATIVE_CASE = 13;
      See Also:
    • VOCATIVE_VALUE

      public static final int VOCATIVE_VALUE
       Vocative
       
      VOCATIVE = 14;
      See Also:
  • Method Details

    • values

      public static PartOfSpeech.Case[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      NullPointerException - 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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static 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 name
      NullPointerException - if the argument is null