Class VectorStoreFileBatch.FileCounts
-
- All Implemented Interfaces:
public final class VectorStoreFileBatch.FileCounts
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
VectorStoreFileBatch.FileCounts.Builder
A builder for FileCounts.
-
Method Summary
Modifier and Type Method Description final Long
cancelled()
The number of files that where cancelled. final Long
completed()
The number of files that have been processed. final Long
failed()
The number of files that have failed to process. final Long
inProgress()
The number of files that are currently being processed. final Long
total()
The total number of files. final JsonField<Long>
_cancelled()
Returns the raw JSON value of cancelled. final JsonField<Long>
_completed()
Returns the raw JSON value of completed. final JsonField<Long>
_failed()
Returns the raw JSON value of failed. final JsonField<Long>
_inProgress()
Returns the raw JSON value of inProgress. final JsonField<Long>
_total()
Returns the raw JSON value of total. final Map<String, JsonValue>
_additionalProperties()
final VectorStoreFileBatch.FileCounts.Builder
toBuilder()
final VectorStoreFileBatch.FileCounts
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static VectorStoreFileBatch.FileCounts.Builder
builder()
Returns a mutable builder for constructing an instance of FileCounts. -
-
Method Detail
-
inProgress
final Long inProgress()
The number of files that are currently being processed.
-
_cancelled
final JsonField<Long> _cancelled()
Returns the raw JSON value of cancelled.
Unlike cancelled, this method doesn't throw if the JSON field has an unexpected type.
-
_completed
final JsonField<Long> _completed()
Returns the raw JSON value of completed.
Unlike completed, this method doesn't throw if the JSON field has an unexpected type.
-
_failed
final JsonField<Long> _failed()
Returns the raw JSON value of failed.
Unlike failed, this method doesn't throw if the JSON field has an unexpected type.
-
_inProgress
final JsonField<Long> _inProgress()
Returns the raw JSON value of inProgress.
Unlike inProgress, this method doesn't throw if the JSON field has an unexpected type.
-
_total
final JsonField<Long> _total()
Returns the raw JSON value of total.
Unlike total, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final VectorStoreFileBatch.FileCounts.Builder toBuilder()
-
validate
final VectorStoreFileBatch.FileCounts validate()
-
builder
final static VectorStoreFileBatch.FileCounts.Builder builder()
Returns a mutable builder for constructing an instance of FileCounts.
The following fields are required:
.cancelled() .completed() .failed() .inProgress() .total()
-
-
-
-