Package io.qdrant.client.grpc
Class Points.ScoredPoint.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
io.qdrant.client.grpc.Points.ScoredPoint.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Points.ScoredPointOrBuilder
,Cloneable
- Enclosing class:
- Points.ScoredPoint
public static final class Points.ScoredPoint.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
implements Points.ScoredPointOrBuilder
Protobuf type
qdrant.ScoredPoint
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()
Point idclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Similarity scoreVectors to searchLast update operation applied to this pointclone()
boolean
containsPayload
(String key) Payloadstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getId()
Point idPoint idPoint idDeprecated.Deprecated.int
PayloadPayloadgetPayloadOrDefault
(String key, JsonWithInt.Value defaultValue) PayloadgetPayloadOrThrow
(String key) Payloadfloat
getScore()
Similarity scoreVectors to searchVectors to searchVectors to searchlong
Last update operation applied to this pointboolean
hasId()
Point idboolean
Vectors to searchprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
protected com.google.protobuf.MapField
internalGetMapField
(int number) protected com.google.protobuf.MapField
internalGetMutableMapField
(int number) final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Points.ScoredPoint other) mergeId
(Points.PointId value) Point idmergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) mergeVectors
(Points.Vectors value) Vectors to searchputAllPayload
(Map<String, JsonWithInt.Value> values) PayloadputPayload
(String key, JsonWithInt.Value value) PayloadremovePayload
(String key) PayloadsetId
(Points.PointId value) Point idsetId
(Points.PointId.Builder builderForValue) Point idsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setScore
(float value) Similarity scoresetUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setVectors
(Points.Vectors value) Vectors to searchsetVectors
(Points.Vectors.Builder builderForValue) Vectors to searchsetVersion
(long value) Last update operation applied to this pointMethods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number) - Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
setField
public Points.ScoredPoint.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
setRepeatedField
public Points.ScoredPoint.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
addRepeatedField
public Points.ScoredPoint.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.ScoredPoint.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
mergeFrom
public Points.ScoredPoint.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Points.ScoredPoint.Builder>
- Throws:
IOException
-
hasId
public boolean hasId()Point id
.qdrant.PointId id = 1;
- Specified by:
hasId
in interfacePoints.ScoredPointOrBuilder
- Returns:
- Whether the id field is set.
-
getId
Point id
.qdrant.PointId id = 1;
- Specified by:
getId
in interfacePoints.ScoredPointOrBuilder
- Returns:
- The id.
-
setId
Point id
.qdrant.PointId id = 1;
-
setId
Point id
.qdrant.PointId id = 1;
-
mergeId
Point id
.qdrant.PointId id = 1;
-
clearId
Point id
.qdrant.PointId id = 1;
-
getIdBuilder
Point id
.qdrant.PointId id = 1;
-
getIdOrBuilder
Point id
.qdrant.PointId id = 1;
- Specified by:
getIdOrBuilder
in interfacePoints.ScoredPointOrBuilder
-
getPayloadCount
public int getPayloadCount()Description copied from interface:Points.ScoredPointOrBuilder
Payload
map<string, .qdrant.Value> payload = 2;
- Specified by:
getPayloadCount
in interfacePoints.ScoredPointOrBuilder
-
containsPayload
Payload
map<string, .qdrant.Value> payload = 2;
- Specified by:
containsPayload
in interfacePoints.ScoredPointOrBuilder
-
getPayload
Deprecated.UsegetPayloadMap()
instead.- Specified by:
getPayload
in interfacePoints.ScoredPointOrBuilder
-
getPayloadMap
Payload
map<string, .qdrant.Value> payload = 2;
- Specified by:
getPayloadMap
in interfacePoints.ScoredPointOrBuilder
-
getPayloadOrDefault
Payload
map<string, .qdrant.Value> payload = 2;
- Specified by:
getPayloadOrDefault
in interfacePoints.ScoredPointOrBuilder
-
getPayloadOrThrow
Payload
map<string, .qdrant.Value> payload = 2;
- Specified by:
getPayloadOrThrow
in interfacePoints.ScoredPointOrBuilder
-
clearPayload
-
removePayload
Payload
map<string, .qdrant.Value> payload = 2;
-
getMutablePayload
Deprecated.Use alternate mutation accessors instead. -
putPayload
Payload
map<string, .qdrant.Value> payload = 2;
-
putAllPayload
Payload
map<string, .qdrant.Value> payload = 2;
-
getScore
public float getScore()Similarity score
float score = 3;
- Specified by:
getScore
in interfacePoints.ScoredPointOrBuilder
- Returns:
- The score.
-
setScore
Similarity score
float score = 3;
- Parameters:
value
- The score to set.- Returns:
- This builder for chaining.
-
clearScore
Similarity score
float score = 3;
- Returns:
- This builder for chaining.
-
getVersion
public long getVersion()Last update operation applied to this point
uint64 version = 5;
- Specified by:
getVersion
in interfacePoints.ScoredPointOrBuilder
- Returns:
- The version.
-
setVersion
Last update operation applied to this point
uint64 version = 5;
- Parameters:
value
- The version to set.- Returns:
- This builder for chaining.
-
clearVersion
Last update operation applied to this point
uint64 version = 5;
- Returns:
- This builder for chaining.
-
hasVectors
public boolean hasVectors()Vectors to search
optional .qdrant.Vectors vectors = 6;
- Specified by:
hasVectors
in interfacePoints.ScoredPointOrBuilder
- Returns:
- Whether the vectors field is set.
-
getVectors
Vectors to search
optional .qdrant.Vectors vectors = 6;
- Specified by:
getVectors
in interfacePoints.ScoredPointOrBuilder
- Returns:
- The vectors.
-
setVectors
Vectors to search
optional .qdrant.Vectors vectors = 6;
-
setVectors
Vectors to search
optional .qdrant.Vectors vectors = 6;
-
mergeVectors
Vectors to search
optional .qdrant.Vectors vectors = 6;
-
clearVectors
Vectors to search
optional .qdrant.Vectors vectors = 6;
-
getVectorsBuilder
Vectors to search
optional .qdrant.Vectors vectors = 6;
-
getVectorsOrBuilder
Vectors to search
optional .qdrant.Vectors vectors = 6;
- Specified by:
getVectorsOrBuilder
in interfacePoints.ScoredPointOrBuilder
-
setUnknownFields
public final Points.ScoredPoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-
mergeUnknownFields
public final Points.ScoredPoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Points.ScoredPoint.Builder>
-