public static final class SingleQueryResults.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder> implements SingleQueryResultsOrBuilder
The query results for a single `QueryVector`Protobuf type
SingleQueryResults| Modifier and Type | Method and Description |
|---|---|
SingleQueryResults.Builder |
addAllMatches(java.lang.Iterable<? extends ScoredVector> values)
The matches for the vectors.
|
SingleQueryResults.Builder |
addMatches(int index,
ScoredVector.Builder builderForValue)
The matches for the vectors.
|
SingleQueryResults.Builder |
addMatches(int index,
ScoredVector value)
The matches for the vectors.
|
SingleQueryResults.Builder |
addMatches(ScoredVector.Builder builderForValue)
The matches for the vectors.
|
SingleQueryResults.Builder |
addMatches(ScoredVector value)
The matches for the vectors.
|
ScoredVector.Builder |
addMatchesBuilder()
The matches for the vectors.
|
ScoredVector.Builder |
addMatchesBuilder(int index)
The matches for the vectors.
|
SingleQueryResults.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SingleQueryResults |
build() |
SingleQueryResults |
buildPartial() |
SingleQueryResults.Builder |
clear() |
SingleQueryResults.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SingleQueryResults.Builder |
clearMatches()
The matches for the vectors.
|
SingleQueryResults.Builder |
clearNamespace()
The namespace for the vectors.
|
SingleQueryResults.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SingleQueryResults.Builder |
clone() |
SingleQueryResults |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ScoredVector |
getMatches(int index)
The matches for the vectors.
|
ScoredVector.Builder |
getMatchesBuilder(int index)
The matches for the vectors.
|
java.util.List<ScoredVector.Builder> |
getMatchesBuilderList()
The matches for the vectors.
|
int |
getMatchesCount()
The matches for the vectors.
|
java.util.List<ScoredVector> |
getMatchesList()
The matches for the vectors.
|
ScoredVectorOrBuilder |
getMatchesOrBuilder(int index)
The matches for the vectors.
|
java.util.List<? extends ScoredVectorOrBuilder> |
getMatchesOrBuilderList()
The matches for the vectors.
|
java.lang.String |
getNamespace()
The namespace for the vectors.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
The namespace for the vectors.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
SingleQueryResults.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SingleQueryResults.Builder |
mergeFrom(com.google.protobuf.Message other) |
SingleQueryResults.Builder |
mergeFrom(SingleQueryResults other) |
SingleQueryResults.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SingleQueryResults.Builder |
removeMatches(int index)
The matches for the vectors.
|
SingleQueryResults.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
SingleQueryResults.Builder |
setMatches(int index,
ScoredVector.Builder builderForValue)
The matches for the vectors.
|
SingleQueryResults.Builder |
setMatches(int index,
ScoredVector value)
The matches for the vectors.
|
SingleQueryResults.Builder |
setNamespace(java.lang.String value)
The namespace for the vectors.
|
SingleQueryResults.Builder |
setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace for the vectors.
|
SingleQueryResults.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
SingleQueryResults.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic SingleQueryResults build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic SingleQueryResults buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic SingleQueryResults.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder mergeFrom(SingleQueryResults other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public SingleQueryResults.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<SingleQueryResults.Builder>java.io.IOExceptionpublic java.util.List<ScoredVector> getMatchesList()
The matches for the vectors.
repeated .ScoredVector matches = 1;getMatchesList in interface SingleQueryResultsOrBuilderpublic int getMatchesCount()
The matches for the vectors.
repeated .ScoredVector matches = 1;getMatchesCount in interface SingleQueryResultsOrBuilderpublic ScoredVector getMatches(int index)
The matches for the vectors.
repeated .ScoredVector matches = 1;getMatches in interface SingleQueryResultsOrBuilderpublic SingleQueryResults.Builder setMatches(int index, ScoredVector value)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder setMatches(int index, ScoredVector.Builder builderForValue)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder addMatches(ScoredVector value)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder addMatches(int index, ScoredVector value)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder addMatches(ScoredVector.Builder builderForValue)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder addMatches(int index, ScoredVector.Builder builderForValue)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder addAllMatches(java.lang.Iterable<? extends ScoredVector> values)
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder clearMatches()
The matches for the vectors.
repeated .ScoredVector matches = 1;public SingleQueryResults.Builder removeMatches(int index)
The matches for the vectors.
repeated .ScoredVector matches = 1;public ScoredVector.Builder getMatchesBuilder(int index)
The matches for the vectors.
repeated .ScoredVector matches = 1;public ScoredVectorOrBuilder getMatchesOrBuilder(int index)
The matches for the vectors.
repeated .ScoredVector matches = 1;getMatchesOrBuilder in interface SingleQueryResultsOrBuilderpublic java.util.List<? extends ScoredVectorOrBuilder> getMatchesOrBuilderList()
The matches for the vectors.
repeated .ScoredVector matches = 1;getMatchesOrBuilderList in interface SingleQueryResultsOrBuilderpublic ScoredVector.Builder addMatchesBuilder()
The matches for the vectors.
repeated .ScoredVector matches = 1;public ScoredVector.Builder addMatchesBuilder(int index)
The matches for the vectors.
repeated .ScoredVector matches = 1;public java.util.List<ScoredVector.Builder> getMatchesBuilderList()
The matches for the vectors.
repeated .ScoredVector matches = 1;public java.lang.String getNamespace()
The namespace for the vectors.
string namespace = 2;getNamespace in interface SingleQueryResultsOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
The namespace for the vectors.
string namespace = 2;getNamespaceBytes in interface SingleQueryResultsOrBuilderpublic SingleQueryResults.Builder setNamespace(java.lang.String value)
The namespace for the vectors.
string namespace = 2;value - The namespace to set.public SingleQueryResults.Builder clearNamespace()
The namespace for the vectors.
string namespace = 2;public SingleQueryResults.Builder setNamespaceBytes(com.google.protobuf.ByteString value)
The namespace for the vectors.
string namespace = 2;value - The bytes for namespace to set.public final SingleQueryResults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>public final SingleQueryResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<SingleQueryResults.Builder>