Class FileCountSnapshotStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.FileCountSnapshotStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class FileCountSnapshotStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
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
-
Method Summary
Modifier and Type Method Description int
fileCount()
Required - API name:file_count
static FileCountSnapshotStats
of(java.util.function.Function<FileCountSnapshotStats.Builder,ObjectBuilder<FileCountSnapshotStats>> fn)
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(ObjectDeserializer<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
-
-
Method Details
-
of
public static FileCountSnapshotStats of(java.util.function.Function<FileCountSnapshotStats.Builder,ObjectBuilder<FileCountSnapshotStats>> fn) -
fileCount
public final int fileCount()Required - API name:file_count
-
sizeInBytes
public final 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(ObjectDeserializer<FileCountSnapshotStats.Builder> op)
-