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.v1beta2.PartOfSpeech.Case
    • 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;
      • INSTRUMENTAL

        public static final PartOfSpeech.Case INSTRUMENTAL
         Instrumental
         
        INSTRUMENTAL = 6;
      • NOMINATIVE

        public static final PartOfSpeech.Case NOMINATIVE
         Nominative
         
        NOMINATIVE = 8;
      • 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;
    • 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
      • 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 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 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 name
        NullPointerException - if the argument is null