StorageInfo.Builder
class StorageInfo.Builder
Builder for StorageInfo objects.
Summary
Public constructors |
|---|
Builder() |
Public functions |
|
|---|---|
StorageInfo |
build()Builds a |
StorageInfo.Builder |
setAliveDocumentsCount(aliveDocumentsCount: Int)Sets the number of alive documents. |
StorageInfo.Builder |
setAliveNamespacesCount(aliveNamespacesCount: Int)Sets the number of alive namespaces. |
StorageInfo.Builder |
@ExperimentalAppSearchApiSets the number of stored blobs. |
StorageInfo.Builder |
@ExperimentalAppSearchApiSets the size of stored blobs in bytes. |
StorageInfo.Builder |
setSizeBytes(sizeBytes: Long)Sets the size in bytes. |
Public constructors
Public functions
setAliveDocumentsCount
Added in 1.1.0
fun setAliveDocumentsCount(aliveDocumentsCount: Int): StorageInfo.Builder
Sets the number of alive documents.
setAliveNamespacesCount
Added in 1.1.0
fun setAliveNamespacesCount(aliveNamespacesCount: Int): StorageInfo.Builder
Sets the number of alive namespaces.
setBlobsCount
Added in 1.1.0
@ExperimentalAppSearchApi
fun setBlobsCount(blobsCount: Int): StorageInfo.Builder
Sets the number of stored blobs.
setBlobsSizeBytes
Added in 1.1.0
@ExperimentalAppSearchApi
fun setBlobsSizeBytes(blobsSizeBytes: Long): StorageInfo.Builder
Sets the size of stored blobs in bytes.
setSizeBytes
Added in 1.1.0
fun setSizeBytes(sizeBytes: Long): StorageInfo.Builder
Sets the size in bytes.