VectorStoreFileErrorCode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. agents. persistent. models. VectorStoreFileErrorCode
- com.
- com.
public final class VectorStoreFileErrorCode
extends ExpandableStringEnum<VectorStoreFileErrorCode>
Error code variants for vector store file processing.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Vector |
INVALID_FILE
The file is not valid. |
|
static final
Vector |
SERVER_ERROR
An server error occurred. |
|
static final
Vector |
UNSUPPORTED_FILE
The file is of unsupported type. |
Constructor Summary
| Constructor | Description |
|---|---|
| VectorStoreFileErrorCode() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Vector |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Vector |
fromString(String name)
Creates or finds a Vector |
|
static
Collection<Vector |
values()
Gets known Vector |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
INVALID_FILE
public static final VectorStoreFileErrorCode INVALID_FILE
The file is not valid.
SERVER_ERROR
public static final VectorStoreFileErrorCode SERVER_ERROR
An server error occurred.
UNSUPPORTED_FILE
public static final VectorStoreFileErrorCode UNSUPPORTED_FILE
The file is of unsupported type.
Constructor Details
VectorStoreFileErrorCode
@Deprecated
public VectorStoreFileErrorCode()
Deprecated
Creates a new instance of VectorStoreFileErrorCode value.
Method Details
fromString
public static VectorStoreFileErrorCode fromString(String name)
Creates or finds a VectorStoreFileErrorCode from its string representation.
Parameters:
Returns:
values
public static Collection<VectorStoreFileErrorCode> values()
Gets known VectorStoreFileErrorCode values.
Returns: