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 classFileCountSnapshotStats.BuilderBuilder forFileCountSnapshotStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FileCountSnapshotStats>_DESERIALIZERJson deserializer forFileCountSnapshotStats -
Method Summary
Modifier and Type Method Description intfileCount()Required - API name:file_countstatic FileCountSnapshotStatsof(java.util.function.Function<FileCountSnapshotStats.Builder,ObjectBuilder<FileCountSnapshotStats>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFileCountSnapshotStatsDeserializer(ObjectDeserializer<FileCountSnapshotStats.Builder> op)longsizeInBytes()Required - API name:size_in_bytesMethods 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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFileCountSnapshotStatsDeserializer
protected static void setupFileCountSnapshotStatsDeserializer(ObjectDeserializer<FileCountSnapshotStats.Builder> op)
-