Class RecoveryBytes
java.lang.Object
org.opensearch.client.opensearch.indices.recovery.RecoveryBytes
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RecoveryBytes.Builder,RecoveryBytes>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RecoveryBytes
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RecoveryBytes.Builder,RecoveryBytes>
The byte-level recovery statistics.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RecoveryBytes> Json deserializer forRecoveryBytes -
Method Summary
Modifier and TypeMethodDescriptionstatic RecoveryBytes.Builderbuilder()booleaninthashCode()static RecoveryBytesfinal Stringpercent()Required - API name:percentfinal StringAPI name:recoveredfinal StringAPI name:recovered_from_snapshotfinal LongAPI name:recovered_from_snapshot_in_bytesfinal longRequired - API name:recovered_in_bytesfinal Stringreused()API name:reusedfinal longRequired - API name:reused_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 voidCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtotal()API name:totalfinal longRequired - API name:total_in_bytesMethods 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 forRecoveryBytes
-
-
Method Details
-
of
-
percent
Required - API name:percent -
recovered
API name:recovered -
recoveredFromSnapshot
API name:recovered_from_snapshot -
recoveredFromSnapshotInBytes
API name:recovered_from_snapshot_in_bytes -
recoveredInBytes
public final long recoveredInBytes()Required - API name:recovered_in_bytes -
reused
API name:reused -
reusedInBytes
public final long reusedInBytes()Required - API name:reused_in_bytes -
total
API name:total -
totalInBytes
public final long totalInBytes()Required - API name:total_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<RecoveryBytes.Builder,RecoveryBytes> - Returns:
- a new builder instance.
-
builder
-
setupRecoveryBytesDeserializer
-
hashCode
public int hashCode() -
equals
-