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 ACCEPTED
ACCEPTED = 0;
CONCORDANCE
CONCORDANCE = 18;
EXACT
EXACT = 7;
EXACT_DOCUMENT_CONTEXT
EXACT_DOCUMENT_CONTEXT = 5;
EXACT_LOCAL_CONTEXT
EXACT_LOCAL_CONTEXT = 4;
EXACT_PREVIOUS_VERSION
EXACT_PREVIOUS_VERSION = 3;
EXACT_REPAIRED
EXACT_REPAIRED = 11;
EXACT_STRUCTURAL
EXACT_STRUCTURAL = 6;
EXACT_TEXT_ONLY
EXACT_TEXT_ONLY = 10;
EXACT_TEXT_ONLY_PREVIOUS_VERSION
EXACT_TEXT_ONLY_PREVIOUS_VERSION = 9;
EXACT_TEXT_ONLY_UNIQUE_ID
EXACT_TEXT_ONLY_UNIQUE_ID = 8;
EXACT_UNIQUE_ID
EXACT_UNIQUE_ID = 2;
FUZZY
FUZZY = 14;
FUZZY_PREVIOUS_VERSION
FUZZY_PREVIOUS_VERSION = 13;
FUZZY_REPAIRED
FUZZY_REPAIRED = 15;
FUZZY_UNIQUE_ID
FUZZY_UNIQUE_ID = 12;
HUMAN_RECOMMENDED
HUMAN_RECOMMENDED = 1;
MT
MT = 17;
PHRASE_ASSEMBLED
PHRASE_ASSEMBLED = 16;
UKNOWN
UKNOWN = 19;
UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACCEPTED_VALUE
ACCEPTED = 0;
static int
CONCORDANCE_VALUE
CONCORDANCE = 18;
static int
EXACT_DOCUMENT_CONTEXT_VALUE
EXACT_DOCUMENT_CONTEXT = 5;
static int
EXACT_LOCAL_CONTEXT_VALUE
EXACT_LOCAL_CONTEXT = 4;
static int
EXACT_PREVIOUS_VERSION_VALUE
EXACT_PREVIOUS_VERSION = 3;
static int
EXACT_REPAIRED_VALUE
EXACT_REPAIRED = 11;
static int
EXACT_STRUCTURAL_VALUE
EXACT_STRUCTURAL = 6;
static int
EXACT_TEXT_ONLY_PREVIOUS_VERSION_VALUE
EXACT_TEXT_ONLY_PREVIOUS_VERSION = 9;
static int
EXACT_TEXT_ONLY_UNIQUE_ID_VALUE
EXACT_TEXT_ONLY_UNIQUE_ID = 8;
static int
EXACT_TEXT_ONLY_VALUE
EXACT_TEXT_ONLY = 10;
static int
EXACT_UNIQUE_ID_VALUE
EXACT_UNIQUE_ID = 2;
static int
EXACT_VALUE
EXACT = 7;
static int
FUZZY_PREVIOUS_VERSION_VALUE
FUZZY_PREVIOUS_VERSION = 13;
static int
FUZZY_REPAIRED_VALUE
FUZZY_REPAIRED = 15;
static int
FUZZY_UNIQUE_ID_VALUE
FUZZY_UNIQUE_ID = 12;
static int
FUZZY_VALUE
FUZZY = 14;
static int
HUMAN_RECOMMENDED_VALUE
HUMAN_RECOMMENDED = 1;
static int
MT_VALUE
MT = 17;
static int
PHRASE_ASSEMBLED_VALUE
PHRASE_ASSEMBLED = 16;
static int
UKNOWN_VALUE
UKNOWN = 19;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AltTranslation.MatchType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<AltTranslation.MatchType>
internalGetValueMap()
static AltTranslation.MatchType
valueOf(int value)
Deprecated.static AltTranslation.MatchType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static AltTranslation.MatchType
valueOf(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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in 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:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in 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
-
-