Class TrainedModelStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelStats>Json deserializer forTrainedModelStats -
Method Summary
Modifier and TypeMethodDescriptionA collection of deployment stats, which is present when the models are deployed.A collection of inference stats fields.ingest()A collection of ingest stats for the model across all nodes.final StringmodelId()Required - The unique identifier of the trained model.final TrainedModelSizeStatsRequired - A collection of model size stats.static TrainedModelStatsfinal intRequired - The number of ingest pipelines that currently refer to the model.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelStats
-
-
Method Details
-
of
public static TrainedModelStats of(Function<TrainedModelStats.Builder, ObjectBuilder<TrainedModelStats>> fn) -
deploymentStats
A collection of deployment stats, which is present when the models are deployed.API name:
deployment_stats -
inferenceStats
A collection of inference stats fields.API name:
inference_stats -
ingest
A collection of ingest stats for the model across all nodes. The values are summations of the individual node statistics. The format matches the ingest section in the nodes stats API.API name:
ingest -
modelId
Required - The unique identifier of the trained model.API name:
model_id -
modelSizeStats
Required - A collection of model size stats.API name:
model_size_stats -
pipelineCount
public final int pipelineCount()Required - The number of ingest pipelines that currently refer to the model.API name:
pipeline_count -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelStatsDeserializer
protected static void setupTrainedModelStatsDeserializer(ObjectDeserializer<TrainedModelStats.Builder> op)
-