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>
  • Field Details

  • Method Details

    • of

    • reserved

      @Nullable public final String 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

      @Nullable public final String 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

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toBuilder

      @Nonnull public StoreStats.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Create a new builder ToCopyableBuilder that is initialised with the current state of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<StoreStats.Builder,StoreStats>
      Returns:
      a new builder instance.
    • builder

      @Nonnull public static StoreStats.Builder builder()
    • setupStoreStatsDeserializer

      protected static void setupStoreStatsDeserializer(ObjectDeserializer<StoreStats.Builder> op)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object