Class StoreStats
java.lang.Object
org.opensearch.client.opensearch._types.StoreStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<StoreStats.Builder,StoreStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class StoreStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<StoreStats.Builder,StoreStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<StoreStats> Json deserializer forStoreStats -
Method Summary
Modifier and TypeMethodDescriptionstatic StoreStats.Builderbuilder()booleaninthashCode()static StoreStatsfinal Stringreserved()API name:reservedfinal longRequired - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsize()API name:sizefinal longRequired - The total size, in bytes, of all shards assigned to the selected nodes.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonStringMethods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
Field Details
-
_DESERIALIZER
Json deserializer forStoreStats
-
-
Method Details
-
of
-
reserved
API name:reserved -
reservedInBytes
public final long reservedInBytes()Required - A prediction, in bytes, of how much larger the shard stores will eventually grow due to ongoing peer recoveries, restoring snapshots, and similar activities.API name:
reserved_in_bytes -
size
API name:size -
sizeInBytes
public final long sizeInBytes()Required - The total size, in bytes, of all shards assigned to the selected nodes.API name:
size_in_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toBuilder
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StoreStats.Builder,StoreStats> - Returns:
- a new builder instance.
-
builder
-
setupStoreStatsDeserializer
-
hashCode
public int hashCode() -
equals
-