Class TrainedModelSizeStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelSizeStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<TrainedModelSizeStats>Json deserializer forTrainedModelSizeStats -
Method Summary
Modifier and TypeMethodDescriptionfinal StringRequired - The size of the model in bytes.static TrainedModelSizeStatsfinal StringRequired - The amount of memory required to load the model in bytes.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 forTrainedModelSizeStats
-
-
Method Details
-
of
public static TrainedModelSizeStats of(Function<TrainedModelSizeStats.Builder, ObjectBuilder<TrainedModelSizeStats>> fn) -
modelSizeBytes
Required - The size of the model in bytes.API name:
model_size_bytes -
requiredNativeMemoryBytes
Required - The amount of memory required to load the model in bytes.API name:
required_native_memory_bytes -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTrainedModelSizeStatsDeserializer
protected static void setupTrainedModelSizeStatsDeserializer(ObjectDeserializer<TrainedModelSizeStats.Builder> op)
-