Class TrainedModelSizeStats
java.lang.Object
co.elastic.clients.elasticsearch.ml.TrainedModelSizeStats
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TrainedModelSizeStats extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTrainedModelSizeStats.BuilderBuilder forTrainedModelSizeStats. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TrainedModelSizeStats>_DESERIALIZERJson deserializer forTrainedModelSizeStats -
Method Summary
Modifier and Type Method Description java.lang.StringmodelSizeBytes()Required - The size of the model in bytes.static TrainedModelSizeStatsof(java.util.function.Function<TrainedModelSizeStats.Builder,ObjectBuilder<TrainedModelSizeStats>> fn)intrequiredNativeMemoryBytes()Required - 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 voidsetupTrainedModelSizeStatsDeserializer(ObjectDeserializer<TrainedModelSizeStats.Builder> op)java.lang.StringtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTrainedModelSizeStats
-
-
Method Details
-
of
public static TrainedModelSizeStats of(java.util.function.Function<TrainedModelSizeStats.Builder,ObjectBuilder<TrainedModelSizeStats>> fn) -
modelSizeBytes
public final java.lang.String modelSizeBytes()Required - The size of the model in bytes.API name:
model_size_bytes -
requiredNativeMemoryBytes
public final int 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
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-
setupTrainedModelSizeStatsDeserializer
protected static void setupTrainedModelSizeStatsDeserializer(ObjectDeserializer<TrainedModelSizeStats.Builder> op)
-