Enum AltTranslation.MatchType

    • Field Detail

      • HUMAN_RECOMMENDED_VALUE

        public static final int HUMAN_RECOMMENDED_VALUE
        HUMAN_RECOMMENDED = 1;
        See Also:
        Constant Field Values
      • EXACT_UNIQUE_ID_VALUE

        public static final int EXACT_UNIQUE_ID_VALUE
        EXACT_UNIQUE_ID = 2;
        See Also:
        Constant Field Values
      • EXACT_PREVIOUS_VERSION_VALUE

        public static final int EXACT_PREVIOUS_VERSION_VALUE
        EXACT_PREVIOUS_VERSION = 3;
        See Also:
        Constant Field Values
      • EXACT_LOCAL_CONTEXT_VALUE

        public static final int EXACT_LOCAL_CONTEXT_VALUE
        EXACT_LOCAL_CONTEXT = 4;
        See Also:
        Constant Field Values
      • EXACT_DOCUMENT_CONTEXT_VALUE

        public static final int EXACT_DOCUMENT_CONTEXT_VALUE
        EXACT_DOCUMENT_CONTEXT = 5;
        See Also:
        Constant Field Values
      • EXACT_STRUCTURAL_VALUE

        public static final int EXACT_STRUCTURAL_VALUE
        EXACT_STRUCTURAL = 6;
        See Also:
        Constant Field Values
      • EXACT_TEXT_ONLY_UNIQUE_ID_VALUE

        public static final int EXACT_TEXT_ONLY_UNIQUE_ID_VALUE
        EXACT_TEXT_ONLY_UNIQUE_ID = 8;
        See Also:
        Constant Field Values
      • EXACT_TEXT_ONLY_PREVIOUS_VERSION_VALUE

        public static final int EXACT_TEXT_ONLY_PREVIOUS_VERSION_VALUE
        EXACT_TEXT_ONLY_PREVIOUS_VERSION = 9;
        See Also:
        Constant Field Values
      • EXACT_TEXT_ONLY_VALUE

        public static final int EXACT_TEXT_ONLY_VALUE
        EXACT_TEXT_ONLY = 10;
        See Also:
        Constant Field Values
      • EXACT_REPAIRED_VALUE

        public static final int EXACT_REPAIRED_VALUE
        EXACT_REPAIRED = 11;
        See Also:
        Constant Field Values
      • FUZZY_UNIQUE_ID_VALUE

        public static final int FUZZY_UNIQUE_ID_VALUE
        FUZZY_UNIQUE_ID = 12;
        See Also:
        Constant Field Values
      • FUZZY_PREVIOUS_VERSION_VALUE

        public static final int FUZZY_PREVIOUS_VERSION_VALUE
        FUZZY_PREVIOUS_VERSION = 13;
        See Also:
        Constant Field Values
      • FUZZY_REPAIRED_VALUE

        public static final int FUZZY_REPAIRED_VALUE
        FUZZY_REPAIRED = 15;
        See Also:
        Constant Field Values
      • PHRASE_ASSEMBLED_VALUE

        public static final int PHRASE_ASSEMBLED_VALUE
        PHRASE_ASSEMBLED = 16;
        See Also:
        Constant Field Values
      • CONCORDANCE_VALUE

        public static final int CONCORDANCE_VALUE
        CONCORDANCE = 18;
        See Also:
        Constant Field Values
    • Method Detail

      • values

        public static AltTranslation.MatchType[] 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 (AltTranslation.MatchType c : AltTranslation.MatchType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AltTranslation.MatchType 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 AltTranslation.MatchType 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 AltTranslation.MatchType 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<AltTranslation.MatchType> 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 AltTranslation.MatchType 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