Class VectorStoreFileErrorCode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<VectorStoreFileErrorCode>
com.azure.ai.openai.assistants.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 VectorStoreFileErrorCode
The file is invalid.static final VectorStoreFileErrorCode
The server encountered an error.static final VectorStoreFileErrorCode
The file format is not supported. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VectorStoreFileErrorCode
fromString
(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
The server encountered an error. -
UNSUPPORTED_FILE
The file format is not supported. -
INVALID_FILE
The file is invalid.
-
-
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.