Class FieldSizeUsage
java.lang.Object
org.opensearch.client.opensearch._types.FieldSizeUsage
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<FieldSizeUsage.Builder,FieldSizeUsage>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class FieldSizeUsage
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<FieldSizeUsage.Builder,FieldSizeUsage>
The memory usage statistics for a field.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<FieldSizeUsage> Json deserializer forFieldSizeUsage -
Method Summary
Modifier and TypeMethodDescriptionstatic FieldSizeUsage.Builderbuilder()booleaninthashCode()static FieldSizeUsagevoidserialize(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()The human-readable size of memory used.final longRequired - The size of memory used in bytes.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 forFieldSizeUsage
-
-
Method Details
-
of
-
size
The human-readable size of memory used.API name:
size -
sizeInBytes
public final long sizeInBytes()Required - The size of memory used in bytes.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<FieldSizeUsage.Builder,FieldSizeUsage> - Returns:
- a new builder instance.
-
builder
-
setupFieldSizeUsageDeserializer
protected static void setupFieldSizeUsageDeserializer(ObjectDeserializer<FieldSizeUsage.Builder> op) -
hashCode
public int hashCode() -
equals
-