public static interface MLServerProto.MatchOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoCorrect()
is this correction eligible for auto-correction?
|
int |
getContextForSureMatch()
sint32 contextForSureMatch = 13; |
String |
getId()
prefix for rule ids; should use a common value for one model/server
string id = 3; |
com.google.protobuf.ByteString |
getIdBytes()
prefix for rule ids; should use a common value for one model/server
string id = 3; |
int |
getLength()
length of matched area; >0
uint32 length = 2; |
String |
getMatchDescription()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
com.google.protobuf.ByteString |
getMatchDescriptionBytes()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
String |
getMatchShortDescription()
shortened description of the match; displayed in e.g.
|
com.google.protobuf.ByteString |
getMatchShortDescriptionBytes()
shortened description of the match; displayed in e.g.
|
int |
getOffset()
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1; |
MLServerProto.Rule |
getRule()
.lt_ml_server.Rule rule = 14; |
String |
getRuleDescription()
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
com.google.protobuf.ByteString |
getRuleDescriptionBytes()
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.RuleOrBuilder |
getRuleOrBuilder()
.lt_ml_server.Rule rule = 14; |
String |
getSubId()
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4; |
com.google.protobuf.ByteString |
getSubIdBytes()
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4; |
MLServerProto.SuggestedReplacement |
getSuggestedReplacements(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
int |
getSuggestedReplacementsCount()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
List<MLServerProto.SuggestedReplacement> |
getSuggestedReplacementsList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.SuggestedReplacementOrBuilder |
getSuggestedReplacementsOrBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
List<? extends MLServerProto.SuggestedReplacementOrBuilder> |
getSuggestedReplacementsOrBuilderList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
String |
getSuggestions(int index)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
com.google.protobuf.ByteString |
getSuggestionsBytes(int index)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
int |
getSuggestionsCount()
legacy; use suggestedReplacements
repeated string suggestions = 5; |
List<String> |
getSuggestionsList()
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.MatchType |
getType()
.lt_ml_server.Match.MatchType type = 12; |
int |
getTypeValue()
.lt_ml_server.Match.MatchType type = 12; |
String |
getUrl()
to show a link, e.g. with further explanations for this error
string url = 9; |
com.google.protobuf.ByteString |
getUrlBytes()
to show a link, e.g. with further explanations for this error
string url = 9; |
boolean |
hasRule()
.lt_ml_server.Rule rule = 14; |
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
int getOffset()
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1;
int getLength()
length of matched area; >0
uint32 length = 2;
String getId()
prefix for rule ids; should use a common value for one model/server
string id = 3;
com.google.protobuf.ByteString getIdBytes()
prefix for rule ids; should use a common value for one model/server
string id = 3;
String getSubId()
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4;
com.google.protobuf.ByteString getSubIdBytes()
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4;
List<String> getSuggestionsList()
legacy; use suggestedReplacements
repeated string suggestions = 5;
int getSuggestionsCount()
legacy; use suggestedReplacements
repeated string suggestions = 5;
String getSuggestions(int index)
legacy; use suggestedReplacements
repeated string suggestions = 5;
index
- The index of the element to return.com.google.protobuf.ByteString getSuggestionsBytes(int index)
legacy; use suggestedReplacements
repeated string suggestions = 5;
index
- The index of the value to return.String getRuleDescription()
added later, optional (can be substituted by Java)
string ruleDescription = 6;
com.google.protobuf.ByteString getRuleDescriptionBytes()
added later, optional (can be substituted by Java)
string ruleDescription = 6;
String getMatchDescription()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
com.google.protobuf.ByteString getMatchDescriptionBytes()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
String getMatchShortDescription()
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
com.google.protobuf.ByteString getMatchShortDescriptionBytes()
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
String getUrl()
to show a link, e.g. with further explanations for this error
string url = 9;
com.google.protobuf.ByteString getUrlBytes()
to show a link, e.g. with further explanations for this error
string url = 9;
List<MLServerProto.SuggestedReplacement> getSuggestedReplacementsList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
MLServerProto.SuggestedReplacement getSuggestedReplacements(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
int getSuggestedReplacementsCount()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
List<? extends MLServerProto.SuggestedReplacementOrBuilder> getSuggestedReplacementsOrBuilderList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
MLServerProto.SuggestedReplacementOrBuilder getSuggestedReplacementsOrBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
boolean getAutoCorrect()
is this correction eligible for auto-correction?
bool autoCorrect = 11;
int getTypeValue()
.lt_ml_server.Match.MatchType type = 12;
MLServerProto.Match.MatchType getType()
.lt_ml_server.Match.MatchType type = 12;
int getContextForSureMatch()
sint32 contextForSureMatch = 13;
boolean hasRule()
.lt_ml_server.Rule rule = 14;
MLServerProto.Rule getRule()
.lt_ml_server.Rule rule = 14;
MLServerProto.RuleOrBuilder getRuleOrBuilder()
.lt_ml_server.Rule rule = 14;