public static final class MLServerProto.Match.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder> implements MLServerProto.MatchOrBuilder
lt_ml_server.Match
Modifier and Type | Method and Description |
---|---|
MLServerProto.Match.Builder |
addAllSuggestedReplacements(Iterable<? extends MLServerProto.SuggestedReplacement> values)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
addAllSuggestions(Iterable<String> values)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Match.Builder |
addSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
addSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
addSuggestedReplacements(MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
addSuggestedReplacements(MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.SuggestedReplacement.Builder |
addSuggestedReplacementsBuilder()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.SuggestedReplacement.Builder |
addSuggestedReplacementsBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
addSuggestions(String value)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
addSuggestionsBytes(com.google.protobuf.ByteString value)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match |
build() |
MLServerProto.Match |
buildPartial() |
MLServerProto.Match.Builder |
clear() |
MLServerProto.Match.Builder |
clearAutoCorrect()
is this correction eligible for auto-correction?
|
MLServerProto.Match.Builder |
clearContextForSureMatch()
sint32 contextForSureMatch = 13; |
MLServerProto.Match.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLServerProto.Match.Builder |
clearId()
prefix for rule ids; should use a common value for one model/server
string id = 3; |
MLServerProto.Match.Builder |
clearLength()
length of matched area; >0
uint32 length = 2; |
MLServerProto.Match.Builder |
clearMatchDescription()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
MLServerProto.Match.Builder |
clearMatchShortDescription()
shortened description of the match; displayed in e.g.
|
MLServerProto.Match.Builder |
clearOffset()
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1; |
MLServerProto.Match.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLServerProto.Match.Builder |
clearRule()
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
clearRuleDescription()
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.Match.Builder |
clearSubId()
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.Match.Builder |
clearSuggestedReplacements()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
clearSuggestions()
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
clearType()
.lt_ml_server.Match.MatchType type = 12; |
MLServerProto.Match.Builder |
clearUrl()
to show a link, e.g. with further explanations for this error
string url = 9; |
MLServerProto.Match.Builder |
clone() |
boolean |
getAutoCorrect()
is this correction eligible for auto-correction?
|
int |
getContextForSureMatch()
sint32 contextForSureMatch = 13; |
MLServerProto.Match |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
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; |
MLServerProto.Rule.Builder |
getRuleBuilder()
.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; |
MLServerProto.SuggestedReplacement.Builder |
getSuggestedReplacementsBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
List<MLServerProto.SuggestedReplacement.Builder> |
getSuggestedReplacementsBuilderList()
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; |
com.google.protobuf.ProtocolStringList |
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; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MLServerProto.Match.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLServerProto.Match.Builder |
mergeFrom(com.google.protobuf.Message other) |
MLServerProto.Match.Builder |
mergeFrom(MLServerProto.Match other) |
MLServerProto.Match.Builder |
mergeRule(MLServerProto.Rule value)
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.Match.Builder |
removeSuggestedReplacements(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
setAutoCorrect(boolean value)
is this correction eligible for auto-correction?
|
MLServerProto.Match.Builder |
setContextForSureMatch(int value)
sint32 contextForSureMatch = 13; |
MLServerProto.Match.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Match.Builder |
setId(String value)
prefix for rule ids; should use a common value for one model/server
string id = 3; |
MLServerProto.Match.Builder |
setIdBytes(com.google.protobuf.ByteString value)
prefix for rule ids; should use a common value for one model/server
string id = 3; |
MLServerProto.Match.Builder |
setLength(int value)
length of matched area; >0
uint32 length = 2; |
MLServerProto.Match.Builder |
setMatchDescription(String value)
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
MLServerProto.Match.Builder |
setMatchDescriptionBytes(com.google.protobuf.ByteString value)
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7; |
MLServerProto.Match.Builder |
setMatchShortDescription(String value)
shortened description of the match; displayed in e.g.
|
MLServerProto.Match.Builder |
setMatchShortDescriptionBytes(com.google.protobuf.ByteString value)
shortened description of the match; displayed in e.g.
|
MLServerProto.Match.Builder |
setOffset(int value)
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1; |
MLServerProto.Match.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLServerProto.Match.Builder |
setRule(MLServerProto.Rule.Builder builderForValue)
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
setRule(MLServerProto.Rule value)
.lt_ml_server.Rule rule = 14; |
MLServerProto.Match.Builder |
setRuleDescription(String value)
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.Match.Builder |
setRuleDescriptionBytes(com.google.protobuf.ByteString value)
added later, optional (can be substituted by Java)
string ruleDescription = 6; |
MLServerProto.Match.Builder |
setSubId(String value)
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.Match.Builder |
setSubIdBytes(com.google.protobuf.ByteString value)
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.Match.Builder |
setSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
setSuggestedReplacements(int index,
MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10; |
MLServerProto.Match.Builder |
setSuggestions(int index,
String value)
legacy; use suggestedReplacements
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
setType(MLServerProto.Match.MatchType value)
.lt_ml_server.Match.MatchType type = 12; |
MLServerProto.Match.Builder |
setTypeValue(int value)
.lt_ml_server.Match.MatchType type = 12; |
MLServerProto.Match.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.Match.Builder |
setUrl(String value)
to show a link, e.g. with further explanations for this error
string url = 9; |
MLServerProto.Match.Builder |
setUrlBytes(com.google.protobuf.ByteString value)
to show a link, e.g. with further explanations for this error
string url = 9; |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MLServerProto.Match build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.Match buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.Match.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder mergeFrom(MLServerProto.Match other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public MLServerProto.Match.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.Match.Builder>
IOException
public int getOffset()
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1;
getOffset
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setOffset(int value)
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1;
value
- The offset to set.public MLServerProto.Match.Builder clearOffset()
start position in the sentence (i.e. not relative to whole text)
uint32 offset = 1;
public int getLength()
length of matched area; >0
uint32 length = 2;
getLength
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setLength(int value)
length of matched area; >0
uint32 length = 2;
value
- The length to set.public MLServerProto.Match.Builder clearLength()
length of matched area; >0
uint32 length = 2;
public String getId()
prefix for rule ids; should use a common value for one model/server
string id = 3;
getId
in interface MLServerProto.MatchOrBuilder
public com.google.protobuf.ByteString getIdBytes()
prefix for rule ids; should use a common value for one model/server
string id = 3;
getIdBytes
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setId(String value)
prefix for rule ids; should use a common value for one model/server
string id = 3;
value
- The id to set.public MLServerProto.Match.Builder clearId()
prefix for rule ids; should use a common value for one model/server
string id = 3;
public MLServerProto.Match.Builder setIdBytes(com.google.protobuf.ByteString value)
prefix for rule ids; should use a common value for one model/server
string id = 3;
value
- The bytes for id to set.public 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;
getSubId
in interface MLServerProto.MatchOrBuilder
public 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;
getSubIdBytes
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setSubId(String value)
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4;
value
- The subId to set.public MLServerProto.Match.Builder clearSubId()
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4;
public MLServerProto.Match.Builder setSubIdBytes(com.google.protobuf.ByteString value)
more specific suffix for rule ids; i.e. one model/server can return multiple values to distinguish between mach types
string sub_id = 4;
value
- The bytes for subId to set.public com.google.protobuf.ProtocolStringList getSuggestionsList()
legacy; use suggestedReplacements
repeated string suggestions = 5;
getSuggestionsList
in interface MLServerProto.MatchOrBuilder
public int getSuggestionsCount()
legacy; use suggestedReplacements
repeated string suggestions = 5;
getSuggestionsCount
in interface MLServerProto.MatchOrBuilder
public String getSuggestions(int index)
legacy; use suggestedReplacements
repeated string suggestions = 5;
getSuggestions
in interface MLServerProto.MatchOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getSuggestionsBytes(int index)
legacy; use suggestedReplacements
repeated string suggestions = 5;
getSuggestionsBytes
in interface MLServerProto.MatchOrBuilder
index
- The index of the value to return.public MLServerProto.Match.Builder setSuggestions(int index, String value)
legacy; use suggestedReplacements
repeated string suggestions = 5;
index
- The index to set the value at.value
- The suggestions to set.public MLServerProto.Match.Builder addSuggestions(String value)
legacy; use suggestedReplacements
repeated string suggestions = 5;
value
- The suggestions to add.public MLServerProto.Match.Builder addAllSuggestions(Iterable<String> values)
legacy; use suggestedReplacements
repeated string suggestions = 5;
values
- The suggestions to add.public MLServerProto.Match.Builder clearSuggestions()
legacy; use suggestedReplacements
repeated string suggestions = 5;
public MLServerProto.Match.Builder addSuggestionsBytes(com.google.protobuf.ByteString value)
legacy; use suggestedReplacements
repeated string suggestions = 5;
value
- The bytes of the suggestions to add.public String getRuleDescription()
added later, optional (can be substituted by Java)
string ruleDescription = 6;
getRuleDescription
in interface MLServerProto.MatchOrBuilder
public com.google.protobuf.ByteString getRuleDescriptionBytes()
added later, optional (can be substituted by Java)
string ruleDescription = 6;
getRuleDescriptionBytes
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setRuleDescription(String value)
added later, optional (can be substituted by Java)
string ruleDescription = 6;
value
- The ruleDescription to set.public MLServerProto.Match.Builder clearRuleDescription()
added later, optional (can be substituted by Java)
string ruleDescription = 6;
public MLServerProto.Match.Builder setRuleDescriptionBytes(com.google.protobuf.ByteString value)
added later, optional (can be substituted by Java)
string ruleDescription = 6;
value
- The bytes for ruleDescription to set.public String getMatchDescription()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
getMatchDescription
in interface MLServerProto.MatchOrBuilder
public com.google.protobuf.ByteString getMatchDescriptionBytes()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
getMatchDescriptionBytes
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setMatchDescription(String value)
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
value
- The matchDescription to set.public MLServerProto.Match.Builder clearMatchDescription()
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
public MLServerProto.Match.Builder setMatchDescriptionBytes(com.google.protobuf.ByteString value)
description of the match; displayed in e.g. the add-on pop-up
string matchDescription = 7;
value
- The bytes for matchDescription to set.public String getMatchShortDescription()
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
getMatchShortDescription
in interface MLServerProto.MatchOrBuilder
public com.google.protobuf.ByteString getMatchShortDescriptionBytes()
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
getMatchShortDescriptionBytes
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setMatchShortDescription(String value)
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
value
- The matchShortDescription to set.public MLServerProto.Match.Builder clearMatchShortDescription()
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
public MLServerProto.Match.Builder setMatchShortDescriptionBytes(com.google.protobuf.ByteString value)
shortened description of the match; displayed in e.g. LibreOffice context menu
string matchShortDescription = 8;
value
- The bytes for matchShortDescription to set.public String getUrl()
to show a link, e.g. with further explanations for this error
string url = 9;
getUrl
in interface MLServerProto.MatchOrBuilder
public com.google.protobuf.ByteString getUrlBytes()
to show a link, e.g. with further explanations for this error
string url = 9;
getUrlBytes
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setUrl(String value)
to show a link, e.g. with further explanations for this error
string url = 9;
value
- The url to set.public MLServerProto.Match.Builder clearUrl()
to show a link, e.g. with further explanations for this error
string url = 9;
public MLServerProto.Match.Builder setUrlBytes(com.google.protobuf.ByteString value)
to show a link, e.g. with further explanations for this error
string url = 9;
value
- The bytes for url to set.public List<MLServerProto.SuggestedReplacement> getSuggestedReplacementsList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
getSuggestedReplacementsList
in interface MLServerProto.MatchOrBuilder
public int getSuggestedReplacementsCount()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
getSuggestedReplacementsCount
in interface MLServerProto.MatchOrBuilder
public MLServerProto.SuggestedReplacement getSuggestedReplacements(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
getSuggestedReplacements
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setSuggestedReplacements(int index, MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder setSuggestedReplacements(int index, MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder addSuggestedReplacements(MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder addSuggestedReplacements(int index, MLServerProto.SuggestedReplacement value)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder addSuggestedReplacements(MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder addSuggestedReplacements(int index, MLServerProto.SuggestedReplacement.Builder builderForValue)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder addAllSuggestedReplacements(Iterable<? extends MLServerProto.SuggestedReplacement> values)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder clearSuggestedReplacements()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.Match.Builder removeSuggestedReplacements(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.SuggestedReplacement.Builder getSuggestedReplacementsBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.SuggestedReplacementOrBuilder getSuggestedReplacementsOrBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
getSuggestedReplacementsOrBuilder
in interface MLServerProto.MatchOrBuilder
public List<? extends MLServerProto.SuggestedReplacementOrBuilder> getSuggestedReplacementsOrBuilderList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
getSuggestedReplacementsOrBuilderList
in interface MLServerProto.MatchOrBuilder
public MLServerProto.SuggestedReplacement.Builder addSuggestedReplacementsBuilder()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public MLServerProto.SuggestedReplacement.Builder addSuggestedReplacementsBuilder(int index)
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public List<MLServerProto.SuggestedReplacement.Builder> getSuggestedReplacementsBuilderList()
new and extended suggestions; overwrite any values set in suggestions
repeated .lt_ml_server.SuggestedReplacement suggestedReplacements = 10;
public boolean getAutoCorrect()
is this correction eligible for auto-correction?
bool autoCorrect = 11;
getAutoCorrect
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setAutoCorrect(boolean value)
is this correction eligible for auto-correction?
bool autoCorrect = 11;
value
- The autoCorrect to set.public MLServerProto.Match.Builder clearAutoCorrect()
is this correction eligible for auto-correction?
bool autoCorrect = 11;
public int getTypeValue()
.lt_ml_server.Match.MatchType type = 12;
getTypeValue
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setTypeValue(int value)
.lt_ml_server.Match.MatchType type = 12;
value
- The enum numeric value on the wire for type to set.public MLServerProto.Match.MatchType getType()
.lt_ml_server.Match.MatchType type = 12;
getType
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setType(MLServerProto.Match.MatchType value)
.lt_ml_server.Match.MatchType type = 12;
value
- The type to set.public MLServerProto.Match.Builder clearType()
.lt_ml_server.Match.MatchType type = 12;
public int getContextForSureMatch()
sint32 contextForSureMatch = 13;
getContextForSureMatch
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setContextForSureMatch(int value)
sint32 contextForSureMatch = 13;
value
- The contextForSureMatch to set.public MLServerProto.Match.Builder clearContextForSureMatch()
sint32 contextForSureMatch = 13;
public boolean hasRule()
.lt_ml_server.Rule rule = 14;
hasRule
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Rule getRule()
.lt_ml_server.Rule rule = 14;
getRule
in interface MLServerProto.MatchOrBuilder
public MLServerProto.Match.Builder setRule(MLServerProto.Rule value)
.lt_ml_server.Rule rule = 14;
public MLServerProto.Match.Builder setRule(MLServerProto.Rule.Builder builderForValue)
.lt_ml_server.Rule rule = 14;
public MLServerProto.Match.Builder mergeRule(MLServerProto.Rule value)
.lt_ml_server.Rule rule = 14;
public MLServerProto.Match.Builder clearRule()
.lt_ml_server.Rule rule = 14;
public MLServerProto.Rule.Builder getRuleBuilder()
.lt_ml_server.Rule rule = 14;
public MLServerProto.RuleOrBuilder getRuleOrBuilder()
.lt_ml_server.Rule rule = 14;
getRuleOrBuilder
in interface MLServerProto.MatchOrBuilder
public final MLServerProto.Match.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>
public final MLServerProto.Match.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.Match.Builder>