StorageInfo.Builder


public final class StorageInfo.Builder


Builder for StorageInfo objects.

Summary

Public constructors

Public methods

@NonNull StorageInfo

Builds a StorageInfo object.

@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

Sets the number of stored blobs.

@NonNull StorageInfo.Builder

Sets the size of stored blobs in bytes.

@NonNull StorageInfo.Builder
setSizeBytes(long sizeBytes)

Sets the size in bytes.

Public constructors

Builder

Added in 1.1.0-alpha07
public Builder()

Public methods

build

Added in 1.1.0-alpha07
public @NonNull StorageInfo build()

Builds a StorageInfo object.

setAliveDocumentsCount

Added in 1.1.0-alpha07
public @NonNull StorageInfo.Builder setAliveDocumentsCount(int aliveDocumentsCount)

Sets the number of alive documents.

setAliveNamespacesCount

Added in 1.1.0-alpha07
public @NonNull StorageInfo.Builder setAliveNamespacesCount(int aliveNamespacesCount)

Sets the number of alive namespaces.

setBlobCount

Added in 1.1.0-alpha07
@ExperimentalAppSearchApi
public @NonNull StorageInfo.Builder setBlobCount(int blobCount)

Sets the number of stored blobs.

setBlobSizeBytes

Added in 1.1.0-alpha07
@ExperimentalAppSearchApi
public @NonNull StorageInfo.Builder setBlobSizeBytes(long blobSizeBytes)

Sets the size of stored blobs in bytes.

setSizeBytes

Added in 1.1.0-alpha07
public @NonNull StorageInfo.Builder setSizeBytes(long sizeBytes)

Sets the size in bytes.