Class VectorStoreFile.LastError
-
- All Implemented Interfaces:
public final class VectorStoreFile.LastErrorThe last error associated with this vector store file. Will be
nullif there are no errors.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classVectorStoreFile.LastError.BuilderA builder for LastError.
public final classVectorStoreFile.LastError.CodeOne of
server_error,unsupported_file, orinvalid_file.
-
Method Summary
Modifier and Type Method Description final VectorStoreFile.LastError.Codecode()One of server_error,unsupported_file, orinvalid_file.final Stringmessage()A human-readable description of the error. final JsonField<VectorStoreFile.LastError.Code>_code()Returns the raw JSON value of code. final JsonField<String>_message()Returns the raw JSON value of message. final Map<String, JsonValue>_additionalProperties()final VectorStoreFile.LastError.BuildertoBuilder()final VectorStoreFile.LastErrorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static VectorStoreFile.LastError.Builderbuilder()Returns a mutable builder for constructing an instance of LastError. -
-
Method Detail
-
code
final VectorStoreFile.LastError.Code code()
One of
server_error,unsupported_file, orinvalid_file.
-
_code
final JsonField<VectorStoreFile.LastError.Code> _code()
Returns the raw JSON value of code.
Unlike code, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VectorStoreFile.LastError.Builder toBuilder()
-
validate
final VectorStoreFile.LastError validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static VectorStoreFile.LastError.Builder builder()
Returns a mutable builder for constructing an instance of LastError.
The following fields are required:
.code() .message()
-
-
-
-