public interface QueryVectorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.protobuf.Struct |
getFilter()
An override for the metadata filter to apply.
|
com.google.protobuf.StructOrBuilder |
getFilterOrBuilder()
An override for the metadata filter to apply.
|
java.lang.String |
getNamespace()
An override the namespace to search.
|
com.google.protobuf.ByteString |
getNamespaceBytes()
An override the namespace to search.
|
int |
getTopK()
An override for the number of results to return for this query vector.
|
float |
getValues(int index)
The query vector values.
|
int |
getValuesCount()
The query vector values.
|
java.util.List<java.lang.Float> |
getValuesList()
The query vector values.
|
boolean |
hasFilter()
An override for the metadata filter to apply.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.util.List<java.lang.Float> getValuesList()
The query vector values. This should be the same length as the dimension of the index being queried.
repeated float values = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }int getValuesCount()
The query vector values. This should be the same length as the dimension of the index being queried.
repeated float values = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }float getValues(int index)
The query vector values. This should be the same length as the dimension of the index being queried.
repeated float values = 1 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }index - The index of the element to return.int getTopK()
An override for the number of results to return for this query vector.
uint32 top_k = 2 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }java.lang.String getNamespace()
An override the namespace to search.
string namespace = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }com.google.protobuf.ByteString getNamespaceBytes()
An override the namespace to search.
string namespace = 3 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }boolean hasFilter()
An override for the metadata filter to apply. This replaces the request-level filter.
.google.protobuf.Struct filter = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }com.google.protobuf.Struct getFilter()
An override for the metadata filter to apply. This replaces the request-level filter.
.google.protobuf.Struct filter = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }com.google.protobuf.StructOrBuilder getFilterOrBuilder()
An override for the metadata filter to apply. This replaces the request-level filter.
.google.protobuf.Struct filter = 4 [(.grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { ... }