Class UploadStatsMetric
java.lang.Object
org.opensearch.client.opensearch.geospatial.UploadStatsMetric
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<UploadStatsMetric.Builder,UploadStatsMetric>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class UploadStatsMetric
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<UploadStatsMetric.Builder,UploadStatsMetric>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<UploadStatsMetric> Json deserializer forUploadStatsMetric -
Method Summary
Modifier and TypeMethodDescriptionstatic UploadStatsMetric.Builderbuilder()final longduration()Required - API name:durationbooleanfinal intfailed()Required - Number of failed features in this upload.inthashCode()final Stringid()Required - API name:idfinal StringnodeId()Required - API name:node_idstatic UploadStatsMetricvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal intsuccess()Required - Number of successful features in this upload.Create a new builderToCopyableBuilderthat is initialised with the current state of this object.final Stringtype()Required - Type of upload (such as "GeoJSON").final intupload()Required - Number of features in this upload.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 forUploadStatsMetric
-
-
Method Details
-
of
public static UploadStatsMetric of(Function<UploadStatsMetric.Builder, ObjectBuilder<UploadStatsMetric>> fn) -
duration
public final long duration()Required - API name:duration -
failed
public final int failed()Required - Number of failed features in this upload.API name:
failed -
id
Required - API name:id -
nodeId
Required - API name:node_id -
success
public final int success()Required - Number of successful features in this upload.API name:
success -
type
Required - Type of upload (such as "GeoJSON").API name:
type -
upload
public final int upload()Required - Number of features in this upload.API name:
upload -
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<UploadStatsMetric.Builder,UploadStatsMetric> - Returns:
- a new builder instance.
-
builder
-
setupUploadStatsMetricDeserializer
protected static void setupUploadStatsMetricDeserializer(ObjectDeserializer<UploadStatsMetric.Builder> op) -
hashCode
public int hashCode() -
equals
-