@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-23T20:47:12.659110Z[Etc/UTC]")
public class IndexDescription
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
IndexDescription.CustomTypeAdapterFactory |
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_DIMENSION |
static java.lang.String |
SERIALIZED_NAME_INDEX_FULLNESS |
static java.lang.String |
SERIALIZED_NAME_NAMESPACES |
static java.lang.String |
SERIALIZED_NAME_TOTAL_VECTOR_COUNT |
| Constructor and Description |
|---|
IndexDescription() |
| Modifier and Type | Method and Description |
|---|---|
IndexDescription |
dimension(java.lang.Long dimension) |
boolean |
equals(java.lang.Object o) |
static IndexDescription |
fromJson(java.lang.String jsonString)
Create an instance of IndexDescription given an JSON string
|
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
java.lang.Object |
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
|
java.lang.Long |
getDimension()
The dimension of the indexed vectors.
|
java.lang.Float |
getIndexFullness()
The fullness of the index, regardless of whether a metadata filter expression was passed.
|
java.util.Map<java.lang.String,NamespaceSummary> |
getNamespaces()
A mapping for each namespace in the index from the namespace name to a summary of its contents.
|
java.lang.Long |
getTotalVectorCount()
The total number of vectors in the index, regardless of whether a metadata filter expression was passed
|
int |
hashCode() |
IndexDescription |
indexFullness(java.lang.Float indexFullness) |
IndexDescription |
namespaces(java.util.Map<java.lang.String,NamespaceSummary> namespaces) |
IndexDescription |
putAdditionalProperty(java.lang.String key,
java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.
|
IndexDescription |
putNamespacesItem(java.lang.String key,
NamespaceSummary namespacesItem) |
void |
setDimension(java.lang.Long dimension) |
void |
setIndexFullness(java.lang.Float indexFullness) |
void |
setNamespaces(java.util.Map<java.lang.String,NamespaceSummary> namespaces) |
void |
setTotalVectorCount(java.lang.Long totalVectorCount) |
java.lang.String |
toJson()
Convert an instance of IndexDescription to an JSON string
|
java.lang.String |
toString() |
IndexDescription |
totalVectorCount(java.lang.Long totalVectorCount) |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_NAMESPACES
public static final java.lang.String SERIALIZED_NAME_DIMENSION
public static final java.lang.String SERIALIZED_NAME_INDEX_FULLNESS
public static final java.lang.String SERIALIZED_NAME_TOTAL_VECTOR_COUNT
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public IndexDescription namespaces(java.util.Map<java.lang.String,NamespaceSummary> namespaces)
public IndexDescription putNamespacesItem(java.lang.String key, NamespaceSummary namespacesItem)
@Nullable public java.util.Map<java.lang.String,NamespaceSummary> getNamespaces()
public void setNamespaces(java.util.Map<java.lang.String,NamespaceSummary> namespaces)
public IndexDescription dimension(java.lang.Long dimension)
@Nullable public java.lang.Long getDimension()
public void setDimension(java.lang.Long dimension)
public IndexDescription indexFullness(java.lang.Float indexFullness)
@Nullable public java.lang.Float getIndexFullness()
public void setIndexFullness(java.lang.Float indexFullness)
public IndexDescription totalVectorCount(java.lang.Long totalVectorCount)
@Nullable public java.lang.Long getTotalVectorCount()
public void setTotalVectorCount(java.lang.Long totalVectorCount)
public IndexDescription putAdditionalProperty(java.lang.String key, java.lang.Object value)
key - name of the propertyvalue - value of the propertypublic java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
public java.lang.Object getAdditionalProperty(java.lang.String key)
key - name of the propertypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to IndexDescriptionpublic static IndexDescription fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to IndexDescriptionpublic java.lang.String toJson()