Class Points.ScoredPoint
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.metaloom.qdrant.client.grpc.proto.Points.ScoredPoint
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Points.ScoredPointOrBuilder,Serializable
- Enclosing class:
- Points
public static final class Points.ScoredPoint
extends com.google.protobuf.GeneratedMessageV3
implements Points.ScoredPointOrBuilder
Protobuf type
qdrant.ScoredPoint- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typeqdrant.ScoredPointNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsPayload(String key) Payloadbooleanstatic Points.ScoredPointstatic final com.google.protobuf.Descriptors.DescriptorgetId()Point idPoint idcom.google.protobuf.Parser<Points.ScoredPoint>Deprecated.intPayloadPayloadgetPayloadOrDefault(String key, JsonWithInt.Value defaultValue) PayloadgetPayloadOrThrow(String key) PayloadfloatgetScore()Similarity scoreintfinal com.google.protobuf.UnknownFieldSetVectors to searchVectors to searchlongLast update operation applied to this pointinthashCode()booleanhasId()Point idbooleanVectors to searchprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableprotected com.google.protobuf.MapFieldinternalGetMapField(int number) final booleanstatic Points.ScoredPoint.Builderstatic Points.ScoredPoint.BuildernewBuilder(Points.ScoredPoint prototype) protected Points.ScoredPoint.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static Points.ScoredPointparseDelimitedFrom(InputStream input) static Points.ScoredPointparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.ScoredPointparseFrom(byte[] data) static Points.ScoredPointparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.ScoredPointparseFrom(com.google.protobuf.ByteString data) static Points.ScoredPointparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.ScoredPointparseFrom(com.google.protobuf.CodedInputStream input) static Points.ScoredPointparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.ScoredPointparseFrom(InputStream input) static Points.ScoredPointparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Points.ScoredPointparseFrom(ByteBuffer data) static Points.ScoredPointparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Points.ScoredPoint>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
PAYLOAD_FIELD_NUMBER
public static final int PAYLOAD_FIELD_NUMBER- See Also:
-
SCORE_FIELD_NUMBER
public static final int SCORE_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
VECTORS_FIELD_NUMBER
public static final int VECTORS_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number) - Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
hasId
public boolean hasId()Point id
.qdrant.PointId id = 1;- Specified by:
hasIdin interfacePoints.ScoredPointOrBuilder- Returns:
- Whether the id field is set.
-
getId
Point id
.qdrant.PointId id = 1;- Specified by:
getIdin interfacePoints.ScoredPointOrBuilder- Returns:
- The id.
-
getIdOrBuilder
Point id
.qdrant.PointId id = 1;- Specified by:
getIdOrBuilderin interfacePoints.ScoredPointOrBuilder
-
getPayloadCount
public int getPayloadCount()Description copied from interface:Points.ScoredPointOrBuilderPayload
map<string, .qdrant.Value> payload = 2;- Specified by:
getPayloadCountin interfacePoints.ScoredPointOrBuilder
-
containsPayload
Payload
map<string, .qdrant.Value> payload = 2;- Specified by:
containsPayloadin interfacePoints.ScoredPointOrBuilder
-
getPayload
Deprecated.UsegetPayloadMap()instead.- Specified by:
getPayloadin interfacePoints.ScoredPointOrBuilder
-
getPayloadMap
Payload
map<string, .qdrant.Value> payload = 2;- Specified by:
getPayloadMapin interfacePoints.ScoredPointOrBuilder
-
getPayloadOrDefault
Payload
map<string, .qdrant.Value> payload = 2;- Specified by:
getPayloadOrDefaultin interfacePoints.ScoredPointOrBuilder
-
getPayloadOrThrow
Payload
map<string, .qdrant.Value> payload = 2;- Specified by:
getPayloadOrThrowin interfacePoints.ScoredPointOrBuilder
-
getScore
public float getScore()Similarity score
float score = 3;- Specified by:
getScorein interfacePoints.ScoredPointOrBuilder- Returns:
- The score.
-
getVersion
public long getVersion()Last update operation applied to this point
uint64 version = 5;- Specified by:
getVersionin interfacePoints.ScoredPointOrBuilder- Returns:
- The version.
-
hasVectors
public boolean hasVectors()Vectors to search
optional .qdrant.Vectors vectors = 6;- Specified by:
hasVectorsin interfacePoints.ScoredPointOrBuilder- Returns:
- Whether the vectors field is set.
-
getVectors
Vectors to search
optional .qdrant.Vectors vectors = 6;- Specified by:
getVectorsin interfacePoints.ScoredPointOrBuilder- Returns:
- The vectors.
-
getVectorsOrBuilder
Vectors to search
optional .qdrant.Vectors vectors = 6;- Specified by:
getVectorsOrBuilderin interfacePoints.ScoredPointOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Points.ScoredPoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.ScoredPoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.ScoredPoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.ScoredPoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.ScoredPoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Points.ScoredPoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Points.ScoredPoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Points.ScoredPoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Points.ScoredPoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Points.ScoredPoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Points.ScoredPoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-