Class ShardFileSizeInfo
java.lang.Object
co.elastic.clients.elasticsearch.indices.stats.ShardFileSizeInfo
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class ShardFileSizeInfo extends java.lang.Object implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classShardFileSizeInfo.BuilderBuilder forShardFileSizeInfo. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ShardFileSizeInfo>_DESERIALIZERJson deserializer forShardFileSizeInfo -
Constructor Summary
Constructors Constructor Description ShardFileSizeInfo(ShardFileSizeInfo.Builder builder)ShardFileSizeInfo(java.util.function.Function<ShardFileSizeInfo.Builder,ShardFileSizeInfo.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.LongaverageSizeInBytes()API name:average_size_in_bytesjava.lang.Longcount()API name:countjava.lang.Stringdescription()Required - API name:descriptionjava.lang.LongmaxSizeInBytes()API name:max_size_in_bytesjava.lang.LongminSizeInBytes()API name:min_size_in_bytesvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupShardFileSizeInfoDeserializer(DelegatingDeserializer<ShardFileSizeInfo.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 forShardFileSizeInfo
-
-
Constructor Details
-
ShardFileSizeInfo
-
ShardFileSizeInfo
public ShardFileSizeInfo(java.util.function.Function<ShardFileSizeInfo.Builder,ShardFileSizeInfo.Builder> fn)
-
-
Method Details
-
description
public java.lang.String description()Required - API name:description -
sizeInBytes
public long sizeInBytes()Required - API name:size_in_bytes -
minSizeInBytes
@Nullable public java.lang.Long minSizeInBytes()API name:min_size_in_bytes -
maxSizeInBytes
@Nullable public java.lang.Long maxSizeInBytes()API name:max_size_in_bytes -
averageSizeInBytes
@Nullable public java.lang.Long averageSizeInBytes()API name:average_size_in_bytes -
count
@Nullable public java.lang.Long count()API name:count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupShardFileSizeInfoDeserializer
protected static void setupShardFileSizeInfoDeserializer(DelegatingDeserializer<ShardFileSizeInfo.Builder> op)
-