Class WeaviateProtoSearchGet.NearVector
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.weaviate.client.grpc.protocol.v1.WeaviateProtoSearchGet.NearVector
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WeaviateProtoSearchGet.NearVectorOrBuilder,Serializable
- Enclosing class:
- WeaviateProtoSearchGet
public static final class WeaviateProtoSearchGet.NearVector extends com.google.protobuf.GeneratedMessageV3 implements WeaviateProtoSearchGet.NearVectorOrBuilder
Protobuf typeweaviate.v1.NearVector- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeaviateProtoSearchGet.NearVector.BuilderProtobuf typeweaviate.v1.NearVector-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intCERTAINTY_FIELD_NUMBERstatic intDISTANCE_FIELD_NUMBERstatic intTARGET_VECTORS_FIELD_NUMBERstatic intVECTOR_BYTES_FIELD_NUMBERstatic intVECTOR_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object obj)doublegetCertainty()optional double certainty = 2;static WeaviateProtoSearchGet.NearVectorgetDefaultInstance()WeaviateProtoSearchGet.NearVectorgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()doublegetDistance()optional double distance = 3;com.google.protobuf.Parser<WeaviateProtoSearchGet.NearVector>getParserForType()intgetSerializedSize()StringgetTargetVectors(int index)repeated string target_vectors = 5;com.google.protobuf.ByteStringgetTargetVectorsBytes(int index)repeated string target_vectors = 5;intgetTargetVectorsCount()repeated string target_vectors = 5;com.google.protobuf.ProtocolStringListgetTargetVectorsList()repeated string target_vectors = 5;floatgetVector(int index)Deprecated.weaviate.v1.NearVector.vector is deprecated.com.google.protobuf.ByteStringgetVectorBytes()bytes vector_bytes = 4;intgetVectorCount()Deprecated.weaviate.v1.NearVector.vector is deprecated.List<Float>getVectorList()Deprecated.weaviate.v1.NearVector.vector is deprecated.booleanhasCertainty()optional double certainty = 2;booleanhasDistance()optional double distance = 3;inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WeaviateProtoSearchGet.NearVector.BuildernewBuilder()static WeaviateProtoSearchGet.NearVector.BuildernewBuilder(WeaviateProtoSearchGet.NearVector prototype)WeaviateProtoSearchGet.NearVector.BuildernewBuilderForType()protected WeaviateProtoSearchGet.NearVector.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WeaviateProtoSearchGet.NearVectorparseDelimitedFrom(InputStream input)static WeaviateProtoSearchGet.NearVectorparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearVectorparseFrom(byte[] data)static WeaviateProtoSearchGet.NearVectorparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearVectorparseFrom(com.google.protobuf.ByteString data)static WeaviateProtoSearchGet.NearVectorparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearVectorparseFrom(com.google.protobuf.CodedInputStream input)static WeaviateProtoSearchGet.NearVectorparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearVectorparseFrom(InputStream input)static WeaviateProtoSearchGet.NearVectorparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.NearVectorparseFrom(ByteBuffer data)static WeaviateProtoSearchGet.NearVectorparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WeaviateProtoSearchGet.NearVector>parser()WeaviateProtoSearchGet.NearVector.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
VECTOR_FIELD_NUMBER
public static final int VECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CERTAINTY_FIELD_NUMBER
public static final int CERTAINTY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DISTANCE_FIELD_NUMBER
public static final int DISTANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VECTOR_BYTES_FIELD_NUMBER
public static final int VECTOR_BYTES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TARGET_VECTORS_FIELD_NUMBER
public static final int TARGET_VECTORS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getVectorList
@Deprecated public List<Float> getVectorList()
Deprecated.weaviate.v1.NearVector.vector is deprecated. See v1/search_get.proto;l=194protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 1 [deprecated = true];- Specified by:
getVectorListin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- A list containing the vector.
-
getVectorCount
@Deprecated public int getVectorCount()
Deprecated.weaviate.v1.NearVector.vector is deprecated. See v1/search_get.proto;l=194protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 1 [deprecated = true];- Specified by:
getVectorCountin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- The count of vector.
-
getVector
@Deprecated public float getVector(int index)
Deprecated.weaviate.v1.NearVector.vector is deprecated. See v1/search_get.proto;l=194protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 1 [deprecated = true];- Specified by:
getVectorin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
hasCertainty
public boolean hasCertainty()
optional double certainty = 2;- Specified by:
hasCertaintyin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- Whether the certainty field is set.
-
getCertainty
public double getCertainty()
optional double certainty = 2;- Specified by:
getCertaintyin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- The certainty.
-
hasDistance
public boolean hasDistance()
optional double distance = 3;- Specified by:
hasDistancein interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- Whether the distance field is set.
-
getDistance
public double getDistance()
optional double distance = 3;- Specified by:
getDistancein interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- The distance.
-
getVectorBytes
public com.google.protobuf.ByteString getVectorBytes()
bytes vector_bytes = 4;- Specified by:
getVectorBytesin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- The vectorBytes.
-
getTargetVectorsList
public com.google.protobuf.ProtocolStringList getTargetVectorsList()
repeated string target_vectors = 5;- Specified by:
getTargetVectorsListin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- A list containing the targetVectors.
-
getTargetVectorsCount
public int getTargetVectorsCount()
repeated string target_vectors = 5;- Specified by:
getTargetVectorsCountin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Returns:
- The count of targetVectors.
-
getTargetVectors
public String getTargetVectors(int index)
repeated string target_vectors = 5;- Specified by:
getTargetVectorsin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The targetVectors at the given index.
-
getTargetVectorsBytes
public com.google.protobuf.ByteString getTargetVectorsBytes(int index)
repeated string target_vectors = 5;- Specified by:
getTargetVectorsBytesin interfaceWeaviateProtoSearchGet.NearVectorOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetVectors at the given index.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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 WeaviateProtoSearchGet.NearVector parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoSearchGet.NearVector parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoSearchGet.NearVector parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.NearVector parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public WeaviateProtoSearchGet.NearVector.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WeaviateProtoSearchGet.NearVector.Builder newBuilder()
-
newBuilder
public static WeaviateProtoSearchGet.NearVector.Builder newBuilder(WeaviateProtoSearchGet.NearVector prototype)
-
toBuilder
public WeaviateProtoSearchGet.NearVector.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WeaviateProtoSearchGet.NearVector.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WeaviateProtoSearchGet.NearVector getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WeaviateProtoSearchGet.NearVector> parser()
-
getParserForType
public com.google.protobuf.Parser<WeaviateProtoSearchGet.NearVector> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WeaviateProtoSearchGet.NearVector getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-