Class FileCountSnapshotStats
java.lang.Object
co.elastic.clients.elasticsearch.snapshot.FileCountSnapshotStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable
public class FileCountSnapshotStats
extends Object
implements JsonpSerializable
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<FileCountSnapshotStats>
Json deserializer forFileCountSnapshotStats
-
Method Summary
Modifier and TypeMethodDescriptionfinal int
Required - API name:file_count
static FileCountSnapshotStats
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
final long
Required - API name:size_in_bytes
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forFileCountSnapshotStats
-
-
Method Details
-
of
public static FileCountSnapshotStats of(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
-
toString
-
setupFileCountSnapshotStatsDeserializer
protected static void setupFileCountSnapshotStatsDeserializer(ObjectDeserializer<FileCountSnapshotStats.Builder> op)
-