StorageInfo.Builder


class StorageInfo.Builder


Builder for StorageInfo objects.

Summary

Public constructors

Public functions

StorageInfo

Builds a StorageInfo object.

StorageInfo.Builder
setAliveDocumentsCount(aliveDocumentsCount: Int)

Sets the number of alive documents.

StorageInfo.Builder
setAliveNamespacesCount(aliveNamespacesCount: Int)

Sets the number of alive namespaces.

StorageInfo.Builder

Sets the number of stored blobs.

StorageInfo.Builder

Sets the size of stored blobs in bytes.

StorageInfo.Builder
setSizeBytes(sizeBytes: Long)

Sets the size in bytes.

Public constructors

Builder

Added in 1.1.0-alpha07
Builder()

Public functions

build

Added in 1.1.0-alpha07
fun build(): StorageInfo

Builds a StorageInfo object.

setAliveDocumentsCount

Added in 1.1.0-alpha07
fun setAliveDocumentsCount(aliveDocumentsCount: Int): StorageInfo.Builder

Sets the number of alive documents.

setAliveNamespacesCount

Added in 1.1.0-alpha07
fun setAliveNamespacesCount(aliveNamespacesCount: Int): StorageInfo.Builder

Sets the number of alive namespaces.

setBlobCount

Added in 1.1.0-alpha07
@ExperimentalAppSearchApi
fun setBlobCount(blobCount: Int): StorageInfo.Builder

Sets the number of stored blobs.

setBlobSizeBytes

Added in 1.1.0-alpha07
@ExperimentalAppSearchApi
fun setBlobSizeBytes(blobSizeBytes: Long): StorageInfo.Builder

Sets the size of stored blobs in bytes.

setSizeBytes

Added in 1.1.0-alpha07
fun setSizeBytes(sizeBytes: Long): StorageInfo.Builder

Sets the size in bytes.