Package net.sf.okapi.proto.textunitflat
Interface AltTranslationOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AltTranslation,AltTranslation.Builder
public interface AltTranslationOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAltTransType()string altTransType = 10;com.google.protobuf.ByteStringgetAltTransTypeBytes()string altTransType = 10;intgetCombinedScore()int32 combinedScore = 4;StringgetCurrentToolId()optional string currentToolId = 11;com.google.protobuf.ByteStringgetCurrentToolIdBytes()optional string currentToolId = 11;StringgetEngine()optional string engine = 9;com.google.protobuf.ByteStringgetEngineBytes()optional string engine = 9;booleangetFromOriginal()bool fromOriginal = 8;intgetFuzzyScore()int32 fuzzyScore = 5;StringgetOrigin()optional string origin = 7;com.google.protobuf.ByteStringgetOriginBytes()optional string origin = 7;intgetQualityScore()optional int32 qualityScore = 6;StringgetSourceLocale()string sourceLocale = 1;com.google.protobuf.ByteStringgetSourceLocaleBytes()string sourceLocale = 1;StringgetTargetLocale()string targetLocale = 2;com.google.protobuf.ByteStringgetTargetLocaleBytes()string targetLocale = 2;TextUnitgetTextUnit().TextUnit textUnit = 3;TextUnitOrBuildergetTextUnitOrBuilder().TextUnit textUnit = 3;AltTranslation.MatchTypegetType().AltTranslation.MatchType type = 12;intgetTypeValue().AltTranslation.MatchType type = 12;booleanhasCurrentToolId()optional string currentToolId = 11;booleanhasEngine()optional string engine = 9;booleanhasOrigin()optional string origin = 7;booleanhasQualityScore()optional int32 qualityScore = 6;booleanhasTextUnit().TextUnit textUnit = 3;-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSourceLocale
String getSourceLocale()
string sourceLocale = 1;- Returns:
- The sourceLocale.
-
getSourceLocaleBytes
com.google.protobuf.ByteString getSourceLocaleBytes()
string sourceLocale = 1;- Returns:
- The bytes for sourceLocale.
-
getTargetLocale
String getTargetLocale()
string targetLocale = 2;- Returns:
- The targetLocale.
-
getTargetLocaleBytes
com.google.protobuf.ByteString getTargetLocaleBytes()
string targetLocale = 2;- Returns:
- The bytes for targetLocale.
-
hasTextUnit
boolean hasTextUnit()
.TextUnit textUnit = 3;- Returns:
- Whether the textUnit field is set.
-
getTextUnit
TextUnit getTextUnit()
.TextUnit textUnit = 3;- Returns:
- The textUnit.
-
getTextUnitOrBuilder
TextUnitOrBuilder getTextUnitOrBuilder()
.TextUnit textUnit = 3;
-
getCombinedScore
int getCombinedScore()
int32 combinedScore = 4;- Returns:
- The combinedScore.
-
getFuzzyScore
int getFuzzyScore()
int32 fuzzyScore = 5;- Returns:
- The fuzzyScore.
-
hasQualityScore
boolean hasQualityScore()
optional int32 qualityScore = 6;- Returns:
- Whether the qualityScore field is set.
-
getQualityScore
int getQualityScore()
optional int32 qualityScore = 6;- Returns:
- The qualityScore.
-
hasOrigin
boolean hasOrigin()
optional string origin = 7;- Returns:
- Whether the origin field is set.
-
getOrigin
String getOrigin()
optional string origin = 7;- Returns:
- The origin.
-
getOriginBytes
com.google.protobuf.ByteString getOriginBytes()
optional string origin = 7;- Returns:
- The bytes for origin.
-
getFromOriginal
boolean getFromOriginal()
bool fromOriginal = 8;- Returns:
- The fromOriginal.
-
hasEngine
boolean hasEngine()
optional string engine = 9;- Returns:
- Whether the engine field is set.
-
getEngine
String getEngine()
optional string engine = 9;- Returns:
- The engine.
-
getEngineBytes
com.google.protobuf.ByteString getEngineBytes()
optional string engine = 9;- Returns:
- The bytes for engine.
-
getAltTransType
String getAltTransType()
string altTransType = 10;- Returns:
- The altTransType.
-
getAltTransTypeBytes
com.google.protobuf.ByteString getAltTransTypeBytes()
string altTransType = 10;- Returns:
- The bytes for altTransType.
-
hasCurrentToolId
boolean hasCurrentToolId()
optional string currentToolId = 11;- Returns:
- Whether the currentToolId field is set.
-
getCurrentToolId
String getCurrentToolId()
optional string currentToolId = 11;- Returns:
- The currentToolId.
-
getCurrentToolIdBytes
com.google.protobuf.ByteString getCurrentToolIdBytes()
optional string currentToolId = 11;- Returns:
- The bytes for currentToolId.
-
getTypeValue
int getTypeValue()
.AltTranslation.MatchType type = 12;- Returns:
- The enum numeric value on the wire for type.
-
getType
AltTranslation.MatchType getType()
.AltTranslation.MatchType type = 12;- Returns:
- The type.
-
-