Class VectorStoreFileBatch.FileCounts.Builder
-
- All Implemented Interfaces:
public final class VectorStoreFileBatch.FileCounts.Builder
A builder for FileCounts.
-
-
Method Summary
-
-
Method Detail
-
cancelled
final VectorStoreFileBatch.FileCounts.Builder cancelled(Long cancelled)
The number of files that where cancelled.
-
cancelled
final VectorStoreFileBatch.FileCounts.Builder cancelled(JsonField<Long> cancelled)
Sets Builder.cancelled to an arbitrary JSON value.
You should usually call Builder.cancelled with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
completed
final VectorStoreFileBatch.FileCounts.Builder completed(Long completed)
The number of files that have been processed.
-
completed
final VectorStoreFileBatch.FileCounts.Builder completed(JsonField<Long> completed)
Sets Builder.completed to an arbitrary JSON value.
You should usually call Builder.completed with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
failed
final VectorStoreFileBatch.FileCounts.Builder failed(Long failed)
The number of files that have failed to process.
-
failed
final VectorStoreFileBatch.FileCounts.Builder failed(JsonField<Long> failed)
Sets Builder.failed to an arbitrary JSON value.
You should usually call Builder.failed with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
inProgress
final VectorStoreFileBatch.FileCounts.Builder inProgress(Long inProgress)
The number of files that are currently being processed.
-
inProgress
final VectorStoreFileBatch.FileCounts.Builder inProgress(JsonField<Long> inProgress)
Sets Builder.inProgress to an arbitrary JSON value.
You should usually call Builder.inProgress with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
total
final VectorStoreFileBatch.FileCounts.Builder total(Long total)
The total number of files.
-
total
final VectorStoreFileBatch.FileCounts.Builder total(JsonField<Long> total)
Sets Builder.total to an arbitrary JSON value.
You should usually call Builder.total with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final VectorStoreFileBatch.FileCounts.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final VectorStoreFileBatch.FileCounts.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final VectorStoreFileBatch.FileCounts.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final VectorStoreFileBatch.FileCounts.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final VectorStoreFileBatch.FileCounts.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final VectorStoreFileBatch.FileCounts build()
Returns an immutable instance of FileCounts.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.cancelled() .completed() .failed() .inProgress() .total()
-
-
-
-