public static final class MLServerProto.SuggestedReplacement.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.SuggestedReplacement.Builder> implements MLServerProto.SuggestedReplacementOrBuilder
lt_ml_server.SuggestedReplacement
Modifier and Type | Method and Description |
---|---|
MLServerProto.SuggestedReplacement.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.SuggestedReplacement |
build() |
MLServerProto.SuggestedReplacement |
buildPartial() |
MLServerProto.SuggestedReplacement.Builder |
clear() |
MLServerProto.SuggestedReplacement.Builder |
clearConfidence()
from 0 (lowest) to 1 (highest)
float confidence = 4; |
MLServerProto.SuggestedReplacement.Builder |
clearDescription()
string description = 2; |
MLServerProto.SuggestedReplacement.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLServerProto.SuggestedReplacement.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLServerProto.SuggestedReplacement.Builder |
clearReplacement()
string replacement = 1; |
MLServerProto.SuggestedReplacement.Builder |
clearSuffix()
Value shown in the UI after the replacement (but not part of it).
|
MLServerProto.SuggestedReplacement.Builder |
clearType()
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5; |
MLServerProto.SuggestedReplacement.Builder |
clone() |
float |
getConfidence()
from 0 (lowest) to 1 (highest)
float confidence = 4; |
MLServerProto.SuggestedReplacement |
getDefaultInstanceForType() |
String |
getDescription()
string description = 2; |
com.google.protobuf.ByteString |
getDescriptionBytes()
string description = 2; |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getReplacement()
string replacement = 1; |
com.google.protobuf.ByteString |
getReplacementBytes()
string replacement = 1; |
String |
getSuffix()
Value shown in the UI after the replacement (but not part of it).
|
com.google.protobuf.ByteString |
getSuffixBytes()
Value shown in the UI after the replacement (but not part of it).
|
MLServerProto.SuggestedReplacement.SuggestionType |
getType()
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5; |
int |
getTypeValue()
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MLServerProto.SuggestedReplacement.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLServerProto.SuggestedReplacement.Builder |
mergeFrom(com.google.protobuf.Message other) |
MLServerProto.SuggestedReplacement.Builder |
mergeFrom(MLServerProto.SuggestedReplacement other) |
MLServerProto.SuggestedReplacement.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.SuggestedReplacement.Builder |
setConfidence(float value)
from 0 (lowest) to 1 (highest)
float confidence = 4; |
MLServerProto.SuggestedReplacement.Builder |
setDescription(String value)
string description = 2; |
MLServerProto.SuggestedReplacement.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
string description = 2; |
MLServerProto.SuggestedReplacement.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.SuggestedReplacement.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLServerProto.SuggestedReplacement.Builder |
setReplacement(String value)
string replacement = 1; |
MLServerProto.SuggestedReplacement.Builder |
setReplacementBytes(com.google.protobuf.ByteString value)
string replacement = 1; |
MLServerProto.SuggestedReplacement.Builder |
setSuffix(String value)
Value shown in the UI after the replacement (but not part of it).
|
MLServerProto.SuggestedReplacement.Builder |
setSuffixBytes(com.google.protobuf.ByteString value)
Value shown in the UI after the replacement (but not part of it).
|
MLServerProto.SuggestedReplacement.Builder |
setType(MLServerProto.SuggestedReplacement.SuggestionType value)
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5; |
MLServerProto.SuggestedReplacement.Builder |
setTypeValue(int value)
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5; |
MLServerProto.SuggestedReplacement.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MLServerProto.SuggestedReplacement build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.SuggestedReplacement buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.Builder mergeFrom(MLServerProto.SuggestedReplacement other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.SuggestedReplacement.Builder>
public MLServerProto.SuggestedReplacement.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.SuggestedReplacement.Builder>
IOException
public String getReplacement()
string replacement = 1;
getReplacement
in interface MLServerProto.SuggestedReplacementOrBuilder
public com.google.protobuf.ByteString getReplacementBytes()
string replacement = 1;
getReplacementBytes
in interface MLServerProto.SuggestedReplacementOrBuilder
public MLServerProto.SuggestedReplacement.Builder setReplacement(String value)
string replacement = 1;
value
- The replacement to set.public MLServerProto.SuggestedReplacement.Builder clearReplacement()
string replacement = 1;
public MLServerProto.SuggestedReplacement.Builder setReplacementBytes(com.google.protobuf.ByteString value)
string replacement = 1;
value
- The bytes for replacement to set.public String getDescription()
string description = 2;
getDescription
in interface MLServerProto.SuggestedReplacementOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
string description = 2;
getDescriptionBytes
in interface MLServerProto.SuggestedReplacementOrBuilder
public MLServerProto.SuggestedReplacement.Builder setDescription(String value)
string description = 2;
value
- The description to set.public MLServerProto.SuggestedReplacement.Builder clearDescription()
string description = 2;
public MLServerProto.SuggestedReplacement.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
string description = 2;
value
- The bytes for description to set.public String getSuffix()
Value shown in the UI after the replacement (but not part of it).
string suffix = 3;
getSuffix
in interface MLServerProto.SuggestedReplacementOrBuilder
public com.google.protobuf.ByteString getSuffixBytes()
Value shown in the UI after the replacement (but not part of it).
string suffix = 3;
getSuffixBytes
in interface MLServerProto.SuggestedReplacementOrBuilder
public MLServerProto.SuggestedReplacement.Builder setSuffix(String value)
Value shown in the UI after the replacement (but not part of it).
string suffix = 3;
value
- The suffix to set.public MLServerProto.SuggestedReplacement.Builder clearSuffix()
Value shown in the UI after the replacement (but not part of it).
string suffix = 3;
public MLServerProto.SuggestedReplacement.Builder setSuffixBytes(com.google.protobuf.ByteString value)
Value shown in the UI after the replacement (but not part of it).
string suffix = 3;
value
- The bytes for suffix to set.public float getConfidence()
from 0 (lowest) to 1 (highest)
float confidence = 4;
getConfidence
in interface MLServerProto.SuggestedReplacementOrBuilder
public MLServerProto.SuggestedReplacement.Builder setConfidence(float value)
from 0 (lowest) to 1 (highest)
float confidence = 4;
value
- The confidence to set.public MLServerProto.SuggestedReplacement.Builder clearConfidence()
from 0 (lowest) to 1 (highest)
float confidence = 4;
public int getTypeValue()
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5;
getTypeValue
in interface MLServerProto.SuggestedReplacementOrBuilder
public MLServerProto.SuggestedReplacement.Builder setTypeValue(int value)
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5;
value
- The enum numeric value on the wire for type to set.public MLServerProto.SuggestedReplacement.SuggestionType getType()
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5;
getType
in interface MLServerProto.SuggestedReplacementOrBuilder
public MLServerProto.SuggestedReplacement.Builder setType(MLServerProto.SuggestedReplacement.SuggestionType value)
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5;
value
- The type to set.public MLServerProto.SuggestedReplacement.Builder clearType()
.lt_ml_server.SuggestedReplacement.SuggestionType type = 5;
public final MLServerProto.SuggestedReplacement.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.SuggestedReplacement.Builder>
public final MLServerProto.SuggestedReplacement.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.SuggestedReplacement.Builder>