Class ClusterNodeCount
- java.lang.Object
-
- org.opensearch.client.opensearch.cluster.stats.ClusterNodeCount
-
- All Implemented Interfaces:
JsonpSerializable,PlainJsonSerializable
@JsonpDeserializable public class ClusterNodeCount extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClusterNodeCount.BuilderBuilder forClusterNodeCount.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<ClusterNodeCount>_DESERIALIZERJson deserializer forClusterNodeCount
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description intclusterManager()API name:clusterManagerintcoordinatingOnly()Required - API name:coordinating_onlyintdata()Required - API name:dataintingest()Required - API name:ingestintmaster()Deprecated.static ClusterNodeCountof(java.util.function.Function<ClusterNodeCount.Builder,ObjectBuilder<ClusterNodeCount>> fn)intremoteClusterClient()Required - API name:remote_cluster_clientjava.lang.Integersearch()API name:searchvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupClusterNodeCountDeserializer(ObjectDeserializer<ClusterNodeCount.Builder> op)inttotal()Required - API name:total-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.json.PlainJsonSerializable
toJsonString
-
-
-
-
Field Detail
-
_DESERIALIZER
public static final JsonpDeserializer<ClusterNodeCount> _DESERIALIZER
Json deserializer forClusterNodeCount
-
-
Method Detail
-
of
public static ClusterNodeCount of(java.util.function.Function<ClusterNodeCount.Builder,ObjectBuilder<ClusterNodeCount>> fn)
-
coordinatingOnly
public final int coordinatingOnly()
Required - API name:coordinating_only
-
data
public final int data()
Required - API name:data
-
ingest
public final int ingest()
Required - API name:ingest
-
master
@Deprecated public final int master()
Deprecated.API name:master
-
clusterManager
public final int clusterManager()
API name:clusterManager
-
total
public final int total()
Required - API name:total
-
remoteClusterClient
public final int remoteClusterClient()
Required - API name:remote_cluster_client
-
search
@Nullable public final java.lang.Integer search()
API name:search
-
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)
-
setupClusterNodeCountDeserializer
protected static void setupClusterNodeCountDeserializer(ObjectDeserializer<ClusterNodeCount.Builder> op)
-
-