Class FileCountSnapshotStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.FileCountSnapshotStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class FileCountSnapshotStats extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FileCountSnapshotStats.Builder
Builder forFileCountSnapshotStats
. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FileCountSnapshotStats>
_DESERIALIZER
Json deserializer forFileCountSnapshotStats
-
Constructor Summary
Constructors Constructor Description FileCountSnapshotStats(FileCountSnapshotStats.Builder builder)
FileCountSnapshotStats(java.util.function.Function<FileCountSnapshotStats.Builder,FileCountSnapshotStats.Builder> fn)
-
Method Summary
Modifier and Type Method Description int
fileCount()
Required - API name:file_count
void
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupFileCountSnapshotStatsDeserializer(DelegatingDeserializer<FileCountSnapshotStats.Builder> op)
long
sizeInBytes()
Required - API name:size_in_bytes
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFileCountSnapshotStats
-
-
Constructor Details
-
FileCountSnapshotStats
-
FileCountSnapshotStats
public FileCountSnapshotStats(java.util.function.Function<FileCountSnapshotStats.Builder,FileCountSnapshotStats.Builder> fn)
-
-
Method Details
-
fileCount
public int fileCount()Required - API name:file_count
-
sizeInBytes
public long sizeInBytes()Required - API name:size_in_bytes
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFileCountSnapshotStatsDeserializer
protected static void setupFileCountSnapshotStatsDeserializer(DelegatingDeserializer<FileCountSnapshotStats.Builder> op)
-