Class NodeStatsDetails
- java.lang.Object
-
- org.opensearch.client.opensearch.ml.NodeStatsDetails
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable,ToCopyableBuilder<NodeStatsDetails.Builder,NodeStatsDetails>
@JsonpDeserializable @Generated("org.opensearch.client.codegen.CodeGenerator") public class NodeStatsDetails extends java.lang.Object implements PlainJsonSerializable, ToCopyableBuilder<NodeStatsDetails.Builder,NodeStatsDetails>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeStatsDetails.BuilderBuilder forNodeStatsDetails.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<NodeStatsDetails>_DESERIALIZERJson deserializer forNodeStatsDetails
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,AlgorithmOperations>algorithms()API name:algorithmsstatic NodeStatsDetails.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.LongmlCircuitBreakerTriggerCount()The circuit breaker trigger count.java.lang.LongmlDeployedModelCount()The deployed model count.java.lang.LongmlExecutingTaskCount()The executing task count.java.lang.LongmlFailureCount()The failure count.java.lang.LongmlJvmHeapUsage()The JVM heap usage.java.lang.LongmlRequestCount()The request count.java.util.Map<java.lang.String,ModelProfile>models()API name:modelsstatic NodeStatsDetailsof(java.util.function.Function<NodeStatsDetails.Builder,ObjectBuilder<NodeStatsDetails>> fn)voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupNodeStatsDetailsDeserializer(ObjectDeserializer<NodeStatsDetails.Builder> op)NodeStatsDetails.BuildertoBuilder()Create 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, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
Methods inherited from interface org.opensearch.client.util.ToCopyableBuilder
copy
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<NodeStatsDetails> _DESERIALIZER
Json deserializer forNodeStatsDetails
-
-
Method Detail
-
of
public static NodeStatsDetails of(java.util.function.Function<NodeStatsDetails.Builder,ObjectBuilder<NodeStatsDetails>> fn)
-
algorithms
@Nonnull public final java.util.Map<java.lang.String,AlgorithmOperations> algorithms()
API name:algorithms
-
mlCircuitBreakerTriggerCount
@Nullable public final java.lang.Long mlCircuitBreakerTriggerCount()
The circuit breaker trigger count.API name:
ml_circuit_breaker_trigger_count
-
mlDeployedModelCount
@Nullable public final java.lang.Long mlDeployedModelCount()
The deployed model count.API name:
ml_deployed_model_count
-
mlExecutingTaskCount
@Nullable public final java.lang.Long mlExecutingTaskCount()
The executing task count.API name:
ml_executing_task_count
-
mlFailureCount
@Nullable public final java.lang.Long mlFailureCount()
The failure count.API name:
ml_failure_count
-
mlJvmHeapUsage
@Nullable public final java.lang.Long mlJvmHeapUsage()
The JVM heap usage.API name:
ml_jvm_heap_usage
-
mlRequestCount
@Nullable public final java.lang.Long mlRequestCount()
The request count.API name:
ml_request_count
-
models
@Nonnull public final java.util.Map<java.lang.String,ModelProfile> models()
API name:models
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
toBuilder
@Nonnull public NodeStatsDetails.Builder toBuilder()
Description copied from interface:ToCopyableBuilderCreate a new builderToCopyableBuilderthat is initialised with the current state of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<NodeStatsDetails.Builder,NodeStatsDetails>- Returns:
- a new builder instance.
-
builder
@Nonnull public static NodeStatsDetails.Builder builder()
-
setupNodeStatsDetailsDeserializer
protected static void setupNodeStatsDetailsDeserializer(ObjectDeserializer<NodeStatsDetails.Builder> op)
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
-