Class RemoteStoreUploadDownloadStats
java.lang.Object
org.opensearch.client.opensearch._types.RemoteStoreUploadDownloadStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<RemoteStoreUploadDownloadStats.Builder,RemoteStoreUploadDownloadStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class RemoteStoreUploadDownloadStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<RemoteStoreUploadDownloadStats.Builder,RemoteStoreUploadDownloadStats>
The amount of data, in bytes, uploaded or downloaded to/from the remote segment store.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<RemoteStoreUploadDownloadStats> Json deserializer forRemoteStoreUploadDownloadStats -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanfinal Stringfailed()The number of bytes that failed to upload to/from the remote segment store.final longRequired - The number of bytes that failed to upload to/from the remote segment store.inthashCode()of(Function<RemoteStoreUploadDownloadStats.Builder, ObjectBuilder<RemoteStoreUploadDownloadStats>> fn) voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidsetupRemoteStoreUploadDownloadStatsDeserializer(ObjectDeserializer<RemoteStoreUploadDownloadStats.Builder> op) final Stringstarted()The number of bytes to upload/download to/from the remote segment store after the upload/download has started.final longRequired - The number of bytes to upload/download to/from the remote segment store after the upload/download has started.final StringThe number of bytes successfully uploaded/downloaded to/from the remote segment store.final longRequired - The number of bytes successfully uploaded/downloaded to/from the remote segment store.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 forRemoteStoreUploadDownloadStats
-
-
Method Details
-
of
-
failed
The number of bytes that failed to upload to/from the remote segment store.API name:
failed -
failedBytes
public final long failedBytes()Required - The number of bytes that failed to upload to/from the remote segment store.API name:
failed_bytes -
started
The number of bytes to upload/download to/from the remote segment store after the upload/download has started.API name:
started -
startedBytes
public final long startedBytes()Required - The number of bytes to upload/download to/from the remote segment store after the upload/download has started.API name:
started_bytes -
succeeded
The number of bytes successfully uploaded/downloaded to/from the remote segment store.API name:
succeeded -
succeededBytes
public final long succeededBytes()Required - The number of bytes successfully uploaded/downloaded to/from the remote segment store.API name:
succeeded_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<RemoteStoreUploadDownloadStats.Builder,RemoteStoreUploadDownloadStats> - Returns:
- a new builder instance.
-
builder
-
setupRemoteStoreUploadDownloadStatsDeserializer
protected static void setupRemoteStoreUploadDownloadStatsDeserializer(ObjectDeserializer<RemoteStoreUploadDownloadStats.Builder> op) -
hashCode
public int hashCode() -
equals
-