Class VectorStoreFileErrorCode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorStoreFileErrorCode>
com.azure.ai.agents.persistent.models.VectorStoreFileErrorCode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class VectorStoreFileErrorCode
extends com.azure.core.util.ExpandableStringEnum<VectorStoreFileErrorCode>
Error code variants for vector store file processing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final VectorStoreFileErrorCodeThe file is not valid.static final VectorStoreFileErrorCodeAn server error occurred.static final VectorStoreFileErrorCodeThe file is of unsupported type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorStoreFileErrorCodefromString(String name) Creates or finds a VectorStoreFileErrorCode from its string representation.static Collection<VectorStoreFileErrorCode> values()Gets known VectorStoreFileErrorCode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SERVER_ERROR
An server error occurred. -
INVALID_FILE
The file is not valid. -
UNSUPPORTED_FILE
The file is of unsupported type.
-
-
Constructor Details
-
VectorStoreFileErrorCode
Deprecated.Use thefromString(String)factory method.Creates a new instance of VectorStoreFileErrorCode value.
-
-
Method Details
-
fromString
Creates or finds a VectorStoreFileErrorCode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding VectorStoreFileErrorCode.
-
values
Gets known VectorStoreFileErrorCode values.- Returns:
- known VectorStoreFileErrorCode values.
-
fromString(String)factory method.