Class VectorStore
- 
                    
                    - All Implemented Interfaces:
 
 public final class VectorStoreA vector store is a collection of processed files can be used by the file_searchtool.
- 
                
                    
                    - 
                                
                            
                                Nested Class SummaryNested Classes Modifier and Type Class Description public final classVectorStore.BuilderA builder for VectorStore. public final classVectorStore.FileCountspublic final classVectorStore.MetadataSet of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters. public final classVectorStore.StatusThe status of the vector store, which can be either expired,in_progress, orcompleted. A status ofcompletedindicates that the vector store is ready for use.public final classVectorStore.ExpiresAfterThe expiration policy for a vector store. 
 - 
                                
                            
                                Method SummaryModifier and Type Method Description final Stringid()The identifier, which can be referenced in API endpoints. final LongcreatedAt()The Unix timestamp (in seconds) for when the vector store was created. final VectorStore.FileCountsfileCounts()final Optional<Long>lastActiveAt()The Unix timestamp (in seconds) for when the vector store was last active. final Optional<VectorStore.Metadata>metadata()Set of 16 key-value pairs that can be attached to an object. final Stringname()The name of the vector store. final JsonValue_object_()The object type, which is always vector_store.final VectorStore.Statusstatus()The status of the vector store, which can be either expired,in_progress, orcompleted.final LongusageBytes()The total number of bytes used by the files in the vector store. final Optional<VectorStore.ExpiresAfter>expiresAfter()The expiration policy for a vector store. final Optional<Long>expiresAt()The Unix timestamp (in seconds) for when the vector store will expire. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Long>_createdAt()Returns the raw JSON value of createdAt. final JsonField<VectorStore.FileCounts>_fileCounts()Returns the raw JSON value of fileCounts. final JsonField<Long>_lastActiveAt()Returns the raw JSON value of lastActiveAt. final JsonField<VectorStore.Metadata>_metadata()Returns the raw JSON value of metadata. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<VectorStore.Status>_status()Returns the raw JSON value of status. final JsonField<Long>_usageBytes()Returns the raw JSON value of usageBytes. final JsonField<VectorStore.ExpiresAfter>_expiresAfter()Returns the raw JSON value of expiresAfter. final JsonField<Long>_expiresAt()Returns the raw JSON value of expiresAt. final Map<String, JsonValue>_additionalProperties()final VectorStore.BuildertoBuilder()final VectorStorevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStore.Builderbuilder()Returns a mutable builder for constructing an instance of VectorStore. - 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        createdAtfinal Long createdAt() The Unix timestamp (in seconds) for when the vector store was created. 
 - 
                                        fileCountsfinal VectorStore.FileCounts fileCounts() 
 - 
                                        lastActiveAtfinal Optional<Long> lastActiveAt() The Unix timestamp (in seconds) for when the vector store was last active. 
 - 
                                        metadatafinal Optional<VectorStore.Metadata> metadata() Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters. 
 - 
                                        _object_final JsonValue _object_() The object type, which is always vector_store.Expected to always return the following: JsonValue.from("vector_store")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value). 
 - 
                                        statusfinal VectorStore.Status status() The status of the vector store, which can be either expired,in_progress, orcompleted. A status ofcompletedindicates that the vector store is ready for use.
 - 
                                        usageBytesfinal Long usageBytes() The total number of bytes used by the files in the vector store. 
 - 
                                        expiresAfterfinal Optional<VectorStore.ExpiresAfter> expiresAfter() The expiration policy for a vector store. 
 - 
                                        expiresAtfinal Optional<Long> expiresAt() The Unix timestamp (in seconds) for when the vector store will expire. 
 - 
                                        _idfinal JsonField<String> _id() Returns the raw JSON value of id. Unlike id, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _createdAtfinal JsonField<Long> _createdAt() Returns the raw JSON value of createdAt. Unlike createdAt, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _fileCountsfinal JsonField<VectorStore.FileCounts> _fileCounts() Returns the raw JSON value of fileCounts. Unlike fileCounts, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _lastActiveAtfinal JsonField<Long> _lastActiveAt() Returns the raw JSON value of lastActiveAt. Unlike lastActiveAt, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _metadatafinal JsonField<VectorStore.Metadata> _metadata() Returns the raw JSON value of metadata. Unlike metadata, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _namefinal JsonField<String> _name() Returns the raw JSON value of name. Unlike name, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _statusfinal JsonField<VectorStore.Status> _status() Returns the raw JSON value of status. Unlike status, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _usageBytesfinal JsonField<Long> _usageBytes() Returns the raw JSON value of usageBytes. Unlike usageBytes, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _expiresAfterfinal JsonField<VectorStore.ExpiresAfter> _expiresAfter() Returns the raw JSON value of expiresAfter. Unlike expiresAfter, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _expiresAtfinal JsonField<Long> _expiresAt() Returns the raw JSON value of expiresAt. Unlike expiresAt, this method doesn't throw if the JSON field has an unexpected type. 
 - 
                                        _additionalPropertiesfinal Map<String, JsonValue> _additionalProperties() 
 - 
                                        toBuilderfinal VectorStore.Builder toBuilder() 
 - 
                                        validatefinal VectorStore validate() 
 - 
                                        builderfinal static VectorStore.Builder builder() Returns a mutable builder for constructing an instance of VectorStore. The following fields are required: .id() .createdAt() .fileCounts() .lastActiveAt() .metadata() .name() .status() .usageBytes()
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-