public static final class MLServerProto.MatchRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.MatchRequest.Builder> implements MLServerProto.MatchRequestOrBuilder
lt_ml_server.MatchRequest
Modifier and Type | Method and Description |
---|---|
MLServerProto.MatchRequest.Builder |
addAllSentences(Iterable<String> values)
input text to be analyzed
repeated string sentences = 1; |
MLServerProto.MatchRequest.Builder |
addAllTextSessionID(Iterable<? extends Long> values)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
MLServerProto.MatchRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.MatchRequest.Builder |
addSentences(String value)
input text to be analyzed
repeated string sentences = 1; |
MLServerProto.MatchRequest.Builder |
addSentencesBytes(com.google.protobuf.ByteString value)
input text to be analyzed
repeated string sentences = 1; |
MLServerProto.MatchRequest.Builder |
addTextSessionID(long value)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
MLServerProto.MatchRequest |
build() |
MLServerProto.MatchRequest |
buildPartial() |
MLServerProto.MatchRequest.Builder |
clear() |
MLServerProto.MatchRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MLServerProto.MatchRequest.Builder |
clearInputLogging()
allow logging of input on error
bool inputLogging = 2; |
MLServerProto.MatchRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MLServerProto.MatchRequest.Builder |
clearSentences()
input text to be analyzed
repeated string sentences = 1; |
MLServerProto.MatchRequest.Builder |
clearTextSessionID()
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
MLServerProto.MatchRequest.Builder |
clone() |
MLServerProto.MatchRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getInputLogging()
allow logging of input on error
bool inputLogging = 2; |
String |
getSentences(int index)
input text to be analyzed
repeated string sentences = 1; |
com.google.protobuf.ByteString |
getSentencesBytes(int index)
input text to be analyzed
repeated string sentences = 1; |
int |
getSentencesCount()
input text to be analyzed
repeated string sentences = 1; |
com.google.protobuf.ProtocolStringList |
getSentencesList()
input text to be analyzed
repeated string sentences = 1; |
long |
getTextSessionID(int index)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
int |
getTextSessionIDCount()
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
List<Long> |
getTextSessionIDList()
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MLServerProto.MatchRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MLServerProto.MatchRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
MLServerProto.MatchRequest.Builder |
mergeFrom(MLServerProto.MatchRequest other) |
MLServerProto.MatchRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MLServerProto.MatchRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MLServerProto.MatchRequest.Builder |
setInputLogging(boolean value)
allow logging of input on error
bool inputLogging = 2; |
MLServerProto.MatchRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MLServerProto.MatchRequest.Builder |
setSentences(int index,
String value)
input text to be analyzed
repeated string sentences = 1; |
MLServerProto.MatchRequest.Builder |
setTextSessionID(int index,
long value)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3; |
MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public MLServerProto.MatchRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.MatchRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
public MLServerProto.MatchRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<MLServerProto.MatchRequest.Builder>
public MLServerProto.MatchRequest.Builder mergeFrom(MLServerProto.MatchRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.MatchRequest.Builder>
public MLServerProto.MatchRequest.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.MatchRequest.Builder>
IOException
public com.google.protobuf.ProtocolStringList getSentencesList()
input text to be analyzed
repeated string sentences = 1;
getSentencesList
in interface MLServerProto.MatchRequestOrBuilder
public int getSentencesCount()
input text to be analyzed
repeated string sentences = 1;
getSentencesCount
in interface MLServerProto.MatchRequestOrBuilder
public String getSentences(int index)
input text to be analyzed
repeated string sentences = 1;
getSentences
in interface MLServerProto.MatchRequestOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getSentencesBytes(int index)
input text to be analyzed
repeated string sentences = 1;
getSentencesBytes
in interface MLServerProto.MatchRequestOrBuilder
index
- The index of the value to return.public MLServerProto.MatchRequest.Builder setSentences(int index, String value)
input text to be analyzed
repeated string sentences = 1;
index
- The index to set the value at.value
- The sentences to set.public MLServerProto.MatchRequest.Builder addSentences(String value)
input text to be analyzed
repeated string sentences = 1;
value
- The sentences to add.public MLServerProto.MatchRequest.Builder addAllSentences(Iterable<String> values)
input text to be analyzed
repeated string sentences = 1;
values
- The sentences to add.public MLServerProto.MatchRequest.Builder clearSentences()
input text to be analyzed
repeated string sentences = 1;
public MLServerProto.MatchRequest.Builder addSentencesBytes(com.google.protobuf.ByteString value)
input text to be analyzed
repeated string sentences = 1;
value
- The bytes of the sentences to add.public boolean getInputLogging()
allow logging of input on error
bool inputLogging = 2;
getInputLogging
in interface MLServerProto.MatchRequestOrBuilder
public MLServerProto.MatchRequest.Builder setInputLogging(boolean value)
allow logging of input on error
bool inputLogging = 2;
value
- The inputLogging to set.public MLServerProto.MatchRequest.Builder clearInputLogging()
allow logging of input on error
bool inputLogging = 2;
public List<Long> getTextSessionIDList()
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
getTextSessionIDList
in interface MLServerProto.MatchRequestOrBuilder
public int getTextSessionIDCount()
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
getTextSessionIDCount
in interface MLServerProto.MatchRequestOrBuilder
public long getTextSessionID(int index)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
getTextSessionID
in interface MLServerProto.MatchRequestOrBuilder
index
- The index of the element to return.public MLServerProto.MatchRequest.Builder setTextSessionID(int index, long value)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
index
- The index to set the value at.value
- The textSessionID to set.public MLServerProto.MatchRequest.Builder addTextSessionID(long value)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
value
- The textSessionID to add.public MLServerProto.MatchRequest.Builder addAllTextSessionID(Iterable<? extends Long> values)
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
values
- The textSessionID to add.public MLServerProto.MatchRequest.Builder clearTextSessionID()
session ID, for partial rollout & A/B tests
repeated int64 textSessionID = 3;
public final MLServerProto.MatchRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.MatchRequest.Builder>
public final MLServerProto.MatchRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<MLServerProto.MatchRequest.Builder>