Class WeaviateProtoSearchGet.Hybrid
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- io.weaviate.client.grpc.protocol.v1.WeaviateProtoSearchGet.Hybrid
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,WeaviateProtoSearchGet.HybridOrBuilder,Serializable
- Enclosing class:
- WeaviateProtoSearchGet
public static final class WeaviateProtoSearchGet.Hybrid extends com.google.protobuf.GeneratedMessageV3 implements WeaviateProtoSearchGet.HybridOrBuilder
Protobuf typeweaviate.v1.Hybrid- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWeaviateProtoSearchGet.Hybrid.BuilderProtobuf typeweaviate.v1.Hybridstatic classWeaviateProtoSearchGet.Hybrid.FusionTypeProtobuf enumweaviate.v1.Hybrid.FusionType-
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 intALPHA_FIELD_NUMBERstatic intFUSION_TYPE_FIELD_NUMBERstatic intNEAR_TEXT_FIELD_NUMBERstatic intNEAR_VECTOR_FIELD_NUMBERstatic intPROPERTIES_FIELD_NUMBERstatic intQUERY_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)floatgetAlpha()float alpha = 4;static WeaviateProtoSearchGet.HybridgetDefaultInstance()WeaviateProtoSearchGet.HybridgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()WeaviateProtoSearchGet.Hybrid.FusionTypegetFusionType().weaviate.v1.Hybrid.FusionType fusion_type = 5;intgetFusionTypeValue().weaviate.v1.Hybrid.FusionType fusion_type = 5;WeaviateProtoSearchGet.NearTextSearchgetNearText()target_vector in msg is ignored and should not be set for hybridWeaviateProtoSearchGet.NearTextSearchOrBuildergetNearTextOrBuilder()target_vector in msg is ignored and should not be set for hybridWeaviateProtoSearchGet.NearVectorgetNearVector()same as above.WeaviateProtoSearchGet.NearVectorOrBuildergetNearVectorOrBuilder()same as above.com.google.protobuf.Parser<WeaviateProtoSearchGet.Hybrid>getParserForType()StringgetProperties(int index)repeated string properties = 2;com.google.protobuf.ByteStringgetPropertiesBytes(int index)repeated string properties = 2;intgetPropertiesCount()repeated string properties = 2;com.google.protobuf.ProtocolStringListgetPropertiesList()repeated string properties = 2;StringgetQuery()string query = 1;com.google.protobuf.ByteStringgetQueryBytes()string query = 1;intgetSerializedSize()StringgetTargetVectors(int index)repeated string target_vectors = 7;com.google.protobuf.ByteStringgetTargetVectorsBytes(int index)repeated string target_vectors = 7;intgetTargetVectorsCount()repeated string target_vectors = 7;com.google.protobuf.ProtocolStringListgetTargetVectorsList()repeated string target_vectors = 7;floatgetVector(int index)Deprecated.weaviate.v1.Hybrid.vector is deprecated.com.google.protobuf.ByteStringgetVectorBytes()bytes vector_bytes = 6;intgetVectorCount()Deprecated.weaviate.v1.Hybrid.vector is deprecated.List<Float>getVectorList()Deprecated.weaviate.v1.Hybrid.vector is deprecated.inthashCode()booleanhasNearText()target_vector in msg is ignored and should not be set for hybridbooleanhasNearVector()same as above.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static WeaviateProtoSearchGet.Hybrid.BuildernewBuilder()static WeaviateProtoSearchGet.Hybrid.BuildernewBuilder(WeaviateProtoSearchGet.Hybrid prototype)WeaviateProtoSearchGet.Hybrid.BuildernewBuilderForType()protected WeaviateProtoSearchGet.Hybrid.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static WeaviateProtoSearchGet.HybridparseDelimitedFrom(InputStream input)static WeaviateProtoSearchGet.HybridparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.HybridparseFrom(byte[] data)static WeaviateProtoSearchGet.HybridparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.HybridparseFrom(com.google.protobuf.ByteString data)static WeaviateProtoSearchGet.HybridparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.HybridparseFrom(com.google.protobuf.CodedInputStream input)static WeaviateProtoSearchGet.HybridparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.HybridparseFrom(InputStream input)static WeaviateProtoSearchGet.HybridparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static WeaviateProtoSearchGet.HybridparseFrom(ByteBuffer data)static WeaviateProtoSearchGet.HybridparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<WeaviateProtoSearchGet.Hybrid>parser()WeaviateProtoSearchGet.Hybrid.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
-
QUERY_FIELD_NUMBER
public static final int QUERY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROPERTIES_FIELD_NUMBER
public static final int PROPERTIES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VECTOR_FIELD_NUMBER
public static final int VECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALPHA_FIELD_NUMBER
public static final int ALPHA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FUSION_TYPE_FIELD_NUMBER
public static final int FUSION_TYPE_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
-
NEAR_TEXT_FIELD_NUMBER
public static final int NEAR_TEXT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NEAR_VECTOR_FIELD_NUMBER
public static final int NEAR_VECTOR_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
-
getQuery
public String getQuery()
string query = 1;- Specified by:
getQueryin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The query.
-
getQueryBytes
public com.google.protobuf.ByteString getQueryBytes()
string query = 1;- Specified by:
getQueryBytesin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The bytes for query.
-
getPropertiesList
public com.google.protobuf.ProtocolStringList getPropertiesList()
repeated string properties = 2;- Specified by:
getPropertiesListin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- A list containing the properties.
-
getPropertiesCount
public int getPropertiesCount()
repeated string properties = 2;- Specified by:
getPropertiesCountin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The count of properties.
-
getProperties
public String getProperties(int index)
repeated string properties = 2;- Specified by:
getPropertiesin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The properties at the given index.
-
getPropertiesBytes
public com.google.protobuf.ByteString getPropertiesBytes(int index)
repeated string properties = 2;- Specified by:
getPropertiesBytesin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the properties at the given index.
-
getVectorList
@Deprecated public List<Float> getVectorList()
Deprecated.weaviate.v1.Hybrid.vector is deprecated. See v1/search_get.proto;l=108protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 3 [deprecated = true];- Specified by:
getVectorListin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- A list containing the vector.
-
getVectorCount
@Deprecated public int getVectorCount()
Deprecated.weaviate.v1.Hybrid.vector is deprecated. See v1/search_get.proto;l=108protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 3 [deprecated = true];- Specified by:
getVectorCountin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The count of vector.
-
getVector
@Deprecated public float getVector(int index)
Deprecated.weaviate.v1.Hybrid.vector is deprecated. See v1/search_get.proto;l=108protolint:disable:next REPEATED_FIELD_NAMES_PLURALIZED
repeated float vector = 3 [deprecated = true];- Specified by:
getVectorin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
getAlpha
public float getAlpha()
float alpha = 4;- Specified by:
getAlphain interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The alpha.
-
getFusionTypeValue
public int getFusionTypeValue()
.weaviate.v1.Hybrid.FusionType fusion_type = 5;- Specified by:
getFusionTypeValuein interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The enum numeric value on the wire for fusionType.
-
getFusionType
public WeaviateProtoSearchGet.Hybrid.FusionType getFusionType()
.weaviate.v1.Hybrid.FusionType fusion_type = 5;- Specified by:
getFusionTypein interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The fusionType.
-
getVectorBytes
public com.google.protobuf.ByteString getVectorBytes()
bytes vector_bytes = 6;- Specified by:
getVectorBytesin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The vectorBytes.
-
getTargetVectorsList
public com.google.protobuf.ProtocolStringList getTargetVectorsList()
repeated string target_vectors = 7;- Specified by:
getTargetVectorsListin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- A list containing the targetVectors.
-
getTargetVectorsCount
public int getTargetVectorsCount()
repeated string target_vectors = 7;- Specified by:
getTargetVectorsCountin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The count of targetVectors.
-
getTargetVectors
public String getTargetVectors(int index)
repeated string target_vectors = 7;- Specified by:
getTargetVectorsin interfaceWeaviateProtoSearchGet.HybridOrBuilder- 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 = 7;- Specified by:
getTargetVectorsBytesin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetVectors at the given index.
-
hasNearText
public boolean hasNearText()
target_vector in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Specified by:
hasNearTextin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- Whether the nearText field is set.
-
getNearText
public WeaviateProtoSearchGet.NearTextSearch getNearText()
target_vector in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Specified by:
getNearTextin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The nearText.
-
getNearTextOrBuilder
public WeaviateProtoSearchGet.NearTextSearchOrBuilder getNearTextOrBuilder()
target_vector in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Specified by:
getNearTextOrBuilderin interfaceWeaviateProtoSearchGet.HybridOrBuilder
-
hasNearVector
public boolean hasNearVector()
same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Specified by:
hasNearVectorin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- Whether the nearVector field is set.
-
getNearVector
public WeaviateProtoSearchGet.NearVector getNearVector()
same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Specified by:
getNearVectorin interfaceWeaviateProtoSearchGet.HybridOrBuilder- Returns:
- The nearVector.
-
getNearVectorOrBuilder
public WeaviateProtoSearchGet.NearVectorOrBuilder getNearVectorOrBuilder()
same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Specified by:
getNearVectorOrBuilderin interfaceWeaviateProtoSearchGet.HybridOrBuilder
-
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.Hybrid parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid 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.Hybrid parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoSearchGet.Hybrid parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static WeaviateProtoSearchGet.Hybrid parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static WeaviateProtoSearchGet.Hybrid parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public WeaviateProtoSearchGet.Hybrid.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static WeaviateProtoSearchGet.Hybrid.Builder newBuilder()
-
newBuilder
public static WeaviateProtoSearchGet.Hybrid.Builder newBuilder(WeaviateProtoSearchGet.Hybrid prototype)
-
toBuilder
public WeaviateProtoSearchGet.Hybrid.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected WeaviateProtoSearchGet.Hybrid.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static WeaviateProtoSearchGet.Hybrid getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<WeaviateProtoSearchGet.Hybrid> parser()
-
getParserForType
public com.google.protobuf.Parser<WeaviateProtoSearchGet.Hybrid> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public WeaviateProtoSearchGet.Hybrid getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-