StorageInfo.Builder
public final class StorageInfo.Builder
Builder for StorageInfo objects.
Summary
Public constructors |
|---|
Builder() |
Public methods |
|
|---|---|
@NonNull StorageInfo |
build()Builds a |
@NonNull StorageInfo.Builder |
setAliveDocumentsCount(int aliveDocumentsCount)Sets the number of alive documents. |
@NonNull StorageInfo.Builder |
setAliveNamespacesCount(int aliveNamespacesCount)Sets the number of alive namespaces. |
@NonNull StorageInfo.Builder |
@ExperimentalAppSearchApiSets the number of stored blobs. |
@NonNull StorageInfo.Builder |
@ExperimentalAppSearchApiSets the size of stored blobs in bytes. |
@NonNull StorageInfo.Builder |
setSizeBytes(long sizeBytes)Sets the size in bytes. |
Public constructors
Public methods
setAliveDocumentsCount
Added in 1.1.0
public @NonNull StorageInfo.Builder setAliveDocumentsCount(int aliveDocumentsCount)
Sets the number of alive documents.
setAliveNamespacesCount
Added in 1.1.0
public @NonNull StorageInfo.Builder setAliveNamespacesCount(int aliveNamespacesCount)
Sets the number of alive namespaces.
setBlobsCount
Added in 1.1.0
@ExperimentalAppSearchApi
public @NonNull StorageInfo.Builder setBlobsCount(int blobsCount)
Sets the number of stored blobs.
setBlobsSizeBytes
Added in 1.1.0
@ExperimentalAppSearchApi
public @NonNull StorageInfo.Builder setBlobsSizeBytes(long blobsSizeBytes)
Sets the size of stored blobs in bytes.
setSizeBytes
Added in 1.1.0
public @NonNull StorageInfo.Builder setSizeBytes(long sizeBytes)
Sets the size in bytes.