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 |
addAllSuggestions(Iterable<String> values)
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.Match.Builder |
addSuggestions(String value)
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
addSuggestionsBytes(com.google.protobuf.ByteString value)
repeated string suggestions = 5; |
MLServerProto.Match |
build() |
MLServerProto.Match |
buildPartial() |
MLServerProto.Match.Builder |
clear() |
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 |
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 |
clearSuggestions()
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
clone() |
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; |
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 |
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; |
String |
getSuggestions(int index)
repeated string suggestions = 5; |
com.google.protobuf.ByteString |
getSuggestionsBytes(int index)
repeated string suggestions = 5; |
int |
getSuggestionsCount()
repeated string suggestions = 5; |
com.google.protobuf.ProtocolStringList |
getSuggestionsList()
repeated string suggestions = 5; |
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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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 |
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 |
setSuggestions(int index,
String value)
repeated string suggestions = 5; |
MLServerProto.Match.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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()
repeated string suggestions = 5;
getSuggestionsList
in interface MLServerProto.MatchOrBuilder
public int getSuggestionsCount()
repeated string suggestions = 5;
getSuggestionsCount
in interface MLServerProto.MatchOrBuilder
public String getSuggestions(int index)
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)
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)
repeated string suggestions = 5;
index
- The index to set the value at.value
- The suggestions to set.public MLServerProto.Match.Builder addSuggestions(String value)
repeated string suggestions = 5;
value
- The suggestions to add.public MLServerProto.Match.Builder addAllSuggestions(Iterable<String> values)
repeated string suggestions = 5;
values
- The suggestions to add.public MLServerProto.Match.Builder clearSuggestions()
repeated string suggestions = 5;
public MLServerProto.Match.Builder addSuggestionsBytes(com.google.protobuf.ByteString value)
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 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>