Class ModelStats
java.lang.Object
org.opensearch.client.opensearch.ml.ModelStats
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<ModelStats.Builder,ModelStats>
@JsonpDeserializable
@Generated("org.opensearch.client.codegen.CodeGenerator")
public class ModelStats
extends Object
implements PlainJsonSerializable, ToCopyableBuilder<ModelStats.Builder,ModelStats>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<ModelStats> Json deserializer forModelStats -
Method Summary
Modifier and TypeMethodDescriptionstatic ModelStats.Builderbuilder()booleaninthashCode()final LongThe failure count.final LongThe request count.final LongThe executing task count.static ModelStatsvoidserialize(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.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 forModelStats
-
-
Method Details
-
of
-
mlActionFailureCount
The failure count.API name:
ml_action_failure_count -
mlActionRequestCount
The request count.API name:
ml_action_request_count -
mlExecutingTaskCount
The executing task count.API name:
ml_executing_task_count -
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<ModelStats.Builder,ModelStats> - Returns:
- a new builder instance.
-
builder
-
setupModelStatsDeserializer
-
hashCode
public int hashCode() -
equals
-