Class MlInferenceTrainedModelsCount
java.lang.Object
co.elastic.clients.elasticsearch.xpack.usage.MlInferenceTrainedModelsCount
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class MlInferenceTrainedModelsCount extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMlInferenceTrainedModelsCount.BuilderBuilder forMlInferenceTrainedModelsCount. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MlInferenceTrainedModelsCount>_DESERIALIZERJson deserializer forMlInferenceTrainedModelsCount -
Method Summary
Modifier and Type Method Description java.lang.Longclassification()API name:classificationjava.lang.Longner()API name:nerstatic MlInferenceTrainedModelsCountof(java.util.function.Function<MlInferenceTrainedModelsCount.Builder,ObjectBuilder<MlInferenceTrainedModelsCount>> fn)longother()Required - API name:otherlongprepackaged()Required - API name:prepackagedjava.lang.Longregression()API name:regressionvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMlInferenceTrainedModelsCountDeserializer(ObjectDeserializer<MlInferenceTrainedModelsCount.Builder> op)longtotal()Required - API name:totalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMlInferenceTrainedModelsCount
-
-
Method Details
-
of
public static MlInferenceTrainedModelsCount of(java.util.function.Function<MlInferenceTrainedModelsCount.Builder,ObjectBuilder<MlInferenceTrainedModelsCount>> fn) -
total
public final long total()Required - API name:total -
prepackaged
public final long prepackaged()Required - API name:prepackaged -
other
public final long other()Required - API name:other -
regression
@Nullable public final java.lang.Long regression()API name:regression -
classification
@Nullable public final java.lang.Long classification()API name:classification -
ner
@Nullable public final java.lang.Long ner()API name:ner -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupMlInferenceTrainedModelsCountDeserializer
protected static void setupMlInferenceTrainedModelsCountDeserializer(ObjectDeserializer<MlInferenceTrainedModelsCount.Builder> op)
-