Package net.sf.okapi.proto
Enum AltTranslation.MatchType
- java.lang.Object
-
- java.lang.Enum<AltTranslation.MatchType>
-
- net.sf.okapi.proto.AltTranslation.MatchType
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<AltTranslation.MatchType>
- Enclosing class:
- AltTranslation
public static enum AltTranslation.MatchType extends Enum<AltTranslation.MatchType> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumAltTranslation.MatchType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACCEPTEDACCEPTED = 0;CONCORDANCECONCORDANCE = 18;EXACTEXACT = 7;EXACT_DOCUMENT_CONTEXTEXACT_DOCUMENT_CONTEXT = 5;EXACT_LOCAL_CONTEXTEXACT_LOCAL_CONTEXT = 4;EXACT_PREVIOUS_VERSIONEXACT_PREVIOUS_VERSION = 3;EXACT_REPAIREDEXACT_REPAIRED = 11;EXACT_STRUCTURALEXACT_STRUCTURAL = 6;EXACT_TEXT_ONLYEXACT_TEXT_ONLY = 10;EXACT_TEXT_ONLY_PREVIOUS_VERSIONEXACT_TEXT_ONLY_PREVIOUS_VERSION = 9;EXACT_TEXT_ONLY_UNIQUE_IDEXACT_TEXT_ONLY_UNIQUE_ID = 8;EXACT_UNIQUE_IDEXACT_UNIQUE_ID = 2;FUZZYFUZZY = 14;FUZZY_PREVIOUS_VERSIONFUZZY_PREVIOUS_VERSION = 13;FUZZY_REPAIREDFUZZY_REPAIRED = 15;FUZZY_UNIQUE_IDFUZZY_UNIQUE_ID = 12;HUMAN_RECOMMENDEDHUMAN_RECOMMENDED = 1;MTMT = 17;PHRASE_ASSEMBLEDPHRASE_ASSEMBLED = 16;UKNOWNUKNOWN = 19;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACCEPTED_VALUEACCEPTED = 0;static intCONCORDANCE_VALUECONCORDANCE = 18;static intEXACT_DOCUMENT_CONTEXT_VALUEEXACT_DOCUMENT_CONTEXT = 5;static intEXACT_LOCAL_CONTEXT_VALUEEXACT_LOCAL_CONTEXT = 4;static intEXACT_PREVIOUS_VERSION_VALUEEXACT_PREVIOUS_VERSION = 3;static intEXACT_REPAIRED_VALUEEXACT_REPAIRED = 11;static intEXACT_STRUCTURAL_VALUEEXACT_STRUCTURAL = 6;static intEXACT_TEXT_ONLY_PREVIOUS_VERSION_VALUEEXACT_TEXT_ONLY_PREVIOUS_VERSION = 9;static intEXACT_TEXT_ONLY_UNIQUE_ID_VALUEEXACT_TEXT_ONLY_UNIQUE_ID = 8;static intEXACT_TEXT_ONLY_VALUEEXACT_TEXT_ONLY = 10;static intEXACT_UNIQUE_ID_VALUEEXACT_UNIQUE_ID = 2;static intEXACT_VALUEEXACT = 7;static intFUZZY_PREVIOUS_VERSION_VALUEFUZZY_PREVIOUS_VERSION = 13;static intFUZZY_REPAIRED_VALUEFUZZY_REPAIRED = 15;static intFUZZY_UNIQUE_ID_VALUEFUZZY_UNIQUE_ID = 12;static intFUZZY_VALUEFUZZY = 14;static intHUMAN_RECOMMENDED_VALUEHUMAN_RECOMMENDED = 1;static intMT_VALUEMT = 17;static intPHRASE_ASSEMBLED_VALUEPHRASE_ASSEMBLED = 16;static intUKNOWN_VALUEUKNOWN = 19;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AltTranslation.MatchTypeforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<AltTranslation.MatchType>internalGetValueMap()static AltTranslation.MatchTypevalueOf(int value)Deprecated.static AltTranslation.MatchTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static AltTranslation.MatchTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AltTranslation.MatchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACCEPTED
public static final AltTranslation.MatchType ACCEPTED
ACCEPTED = 0;
-
HUMAN_RECOMMENDED
public static final AltTranslation.MatchType HUMAN_RECOMMENDED
HUMAN_RECOMMENDED = 1;
-
EXACT_UNIQUE_ID
public static final AltTranslation.MatchType EXACT_UNIQUE_ID
EXACT_UNIQUE_ID = 2;
-
EXACT_PREVIOUS_VERSION
public static final AltTranslation.MatchType EXACT_PREVIOUS_VERSION
EXACT_PREVIOUS_VERSION = 3;
-
EXACT_LOCAL_CONTEXT
public static final AltTranslation.MatchType EXACT_LOCAL_CONTEXT
EXACT_LOCAL_CONTEXT = 4;
-
EXACT_DOCUMENT_CONTEXT
public static final AltTranslation.MatchType EXACT_DOCUMENT_CONTEXT
EXACT_DOCUMENT_CONTEXT = 5;
-
EXACT_STRUCTURAL
public static final AltTranslation.MatchType EXACT_STRUCTURAL
EXACT_STRUCTURAL = 6;
-
EXACT
public static final AltTranslation.MatchType EXACT
EXACT = 7;
-
EXACT_TEXT_ONLY_UNIQUE_ID
public static final AltTranslation.MatchType EXACT_TEXT_ONLY_UNIQUE_ID
EXACT_TEXT_ONLY_UNIQUE_ID = 8;
-
EXACT_TEXT_ONLY_PREVIOUS_VERSION
public static final AltTranslation.MatchType EXACT_TEXT_ONLY_PREVIOUS_VERSION
EXACT_TEXT_ONLY_PREVIOUS_VERSION = 9;
-
EXACT_TEXT_ONLY
public static final AltTranslation.MatchType EXACT_TEXT_ONLY
EXACT_TEXT_ONLY = 10;
-
EXACT_REPAIRED
public static final AltTranslation.MatchType EXACT_REPAIRED
EXACT_REPAIRED = 11;
-
FUZZY_UNIQUE_ID
public static final AltTranslation.MatchType FUZZY_UNIQUE_ID
FUZZY_UNIQUE_ID = 12;
-
FUZZY_PREVIOUS_VERSION
public static final AltTranslation.MatchType FUZZY_PREVIOUS_VERSION
FUZZY_PREVIOUS_VERSION = 13;
-
FUZZY
public static final AltTranslation.MatchType FUZZY
FUZZY = 14;
-
FUZZY_REPAIRED
public static final AltTranslation.MatchType FUZZY_REPAIRED
FUZZY_REPAIRED = 15;
-
PHRASE_ASSEMBLED
public static final AltTranslation.MatchType PHRASE_ASSEMBLED
PHRASE_ASSEMBLED = 16;
-
MT
public static final AltTranslation.MatchType MT
MT = 17;
-
CONCORDANCE
public static final AltTranslation.MatchType CONCORDANCE
CONCORDANCE = 18;
-
UKNOWN
public static final AltTranslation.MatchType UKNOWN
UKNOWN = 19;
-
UNRECOGNIZED
public static final AltTranslation.MatchType UNRECOGNIZED
-
-
Field Detail
-
ACCEPTED_VALUE
public static final int ACCEPTED_VALUE
ACCEPTED = 0;- See Also:
- Constant Field Values
-
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_VALUE
public static final int EXACT_VALUE
EXACT = 7;- 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_VALUE
public static final int FUZZY_VALUE
FUZZY = 14;- 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
-
MT_VALUE
public static final int MT_VALUE
MT = 17;- See Also:
- Constant Field Values
-
CONCORDANCE_VALUE
public static final int CONCORDANCE_VALUE
CONCORDANCE = 18;- See Also:
- Constant Field Values
-
UKNOWN_VALUE
public static final int UKNOWN_VALUE
UKNOWN = 19;- 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 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 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 nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.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 nameNullPointerException- if the argument is null
-
-