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 classFileCountSnapshotStats.BuilderBuilder forFileCountSnapshotStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FileCountSnapshotStats>_DESERIALIZERJson 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 intfileCount()API name:file_countvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupFileCountSnapshotStatsDeserializer(DelegatingDeserializer<FileCountSnapshotStats.Builder> op)longsizeInBytes()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
-
-
Constructor Details
-
FileCountSnapshotStats
-
FileCountSnapshotStats
public FileCountSnapshotStats(java.util.function.Function<FileCountSnapshotStats.Builder,FileCountSnapshotStats.Builder> fn)
-
-
Method Details
-
fileCount
public int fileCount()API name:file_count -
sizeInBytes
public long sizeInBytes()API name:size_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupFileCountSnapshotStatsDeserializer
protected static void setupFileCountSnapshotStatsDeserializer(DelegatingDeserializer<FileCountSnapshotStats.Builder> op)
-