Interface WeaviateProtoSearchGet.HybridOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WeaviateProtoSearchGet.Hybrid,WeaviateProtoSearchGet.Hybrid.Builder
- Enclosing class:
- WeaviateProtoSearchGet
public static interface WeaviateProtoSearchGet.HybridOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description floatgetAlpha()float alpha = 4;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.StringgetProperties(int index)repeated string properties = 2;com.google.protobuf.ByteStringgetPropertiesBytes(int index)repeated string properties = 2;intgetPropertiesCount()repeated string properties = 2;List<String>getPropertiesList()repeated string properties = 2;StringgetQuery()string query = 1;com.google.protobuf.ByteStringgetQueryBytes()string query = 1;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;List<String>getTargetVectorsList()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.booleanhasNearText()target_vector in msg is ignored and should not be set for hybridbooleanhasNearVector()same as above.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getQuery
String getQuery()
string query = 1;- Returns:
- The query.
-
getQueryBytes
com.google.protobuf.ByteString getQueryBytes()
string query = 1;- Returns:
- The bytes for query.
-
getPropertiesList
List<String> getPropertiesList()
repeated string properties = 2;- Returns:
- A list containing the properties.
-
getPropertiesCount
int getPropertiesCount()
repeated string properties = 2;- Returns:
- The count of properties.
-
getProperties
String getProperties(int index)
repeated string properties = 2;- Parameters:
index- The index of the element to return.- Returns:
- The properties at the given index.
-
getPropertiesBytes
com.google.protobuf.ByteString getPropertiesBytes(int index)
repeated string properties = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the properties at the given index.
-
getVectorList
@Deprecated 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];- Returns:
- A list containing the vector.
-
getVectorCount
@Deprecated 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];- Returns:
- The count of vector.
-
getVector
@Deprecated 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];- Parameters:
index- The index of the element to return.- Returns:
- The vector at the given index.
-
getAlpha
float getAlpha()
float alpha = 4;- Returns:
- The alpha.
-
getFusionTypeValue
int getFusionTypeValue()
.weaviate.v1.Hybrid.FusionType fusion_type = 5;- Returns:
- The enum numeric value on the wire for fusionType.
-
getFusionType
WeaviateProtoSearchGet.Hybrid.FusionType getFusionType()
.weaviate.v1.Hybrid.FusionType fusion_type = 5;- Returns:
- The fusionType.
-
getVectorBytes
com.google.protobuf.ByteString getVectorBytes()
bytes vector_bytes = 6;- Returns:
- The vectorBytes.
-
getTargetVectorsList
List<String> getTargetVectorsList()
repeated string target_vectors = 7;- Returns:
- A list containing the targetVectors.
-
getTargetVectorsCount
int getTargetVectorsCount()
repeated string target_vectors = 7;- Returns:
- The count of targetVectors.
-
getTargetVectors
String getTargetVectors(int index)
repeated string target_vectors = 7;- Parameters:
index- The index of the element to return.- Returns:
- The targetVectors at the given index.
-
getTargetVectorsBytes
com.google.protobuf.ByteString getTargetVectorsBytes(int index)
repeated string target_vectors = 7;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the targetVectors at the given index.
-
hasNearText
boolean hasNearText()
target_vector in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Returns:
- Whether the nearText field is set.
-
getNearText
WeaviateProtoSearchGet.NearTextSearch getNearText()
target_vector in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;- Returns:
- The nearText.
-
getNearTextOrBuilder
WeaviateProtoSearchGet.NearTextSearchOrBuilder getNearTextOrBuilder()
target_vector in msg is ignored and should not be set for hybrid
.weaviate.v1.NearTextSearch near_text = 8;
-
hasNearVector
boolean hasNearVector()
same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Returns:
- Whether the nearVector field is set.
-
getNearVector
WeaviateProtoSearchGet.NearVector getNearVector()
same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;- Returns:
- The nearVector.
-
getNearVectorOrBuilder
WeaviateProtoSearchGet.NearVectorOrBuilder getNearVectorOrBuilder()
same as above. Use the target vector in the hybrid message
.weaviate.v1.NearVector near_vector = 9;
-
-