Class TasksRecord
- java.lang.Object
-
- org.opensearch.client.opensearch.cat.tasks.TasksRecord
-
- All Implemented Interfaces:
JsonpSerializable
,PlainJsonSerializable
@JsonpDeserializable public class TasksRecord extends java.lang.Object implements PlainJsonSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TasksRecord.Builder
Builder forTasksRecord
.
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TasksRecord>
_DESERIALIZER
Json deserializer forTasksRecord
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
action()
task actionjava.lang.String
description()
task actionjava.lang.String
id()
id of the task with the nodejava.lang.String
ip()
ip addressjava.lang.String
node()
node namejava.lang.String
nodeId()
unique node idstatic TasksRecord
of(java.util.function.Function<TasksRecord.Builder,ObjectBuilder<TasksRecord>> fn)
java.lang.String
parentTaskId()
parent task idjava.lang.String
port()
bound transport portjava.lang.String
runningTime()
running timejava.lang.String
runningTimeNs()
running time nsvoid
serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupTasksRecordDeserializer(ObjectDeserializer<TasksRecord.Builder> op)
java.lang.String
startTime()
start time in msjava.lang.String
taskId()
unique task idjava.lang.String
timestamp()
start time in HH:MM:SSjava.lang.String
type()
task typejava.lang.String
version()
es versionjava.lang.String
xOpaqueId()
X-Opaque-ID header-
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<TasksRecord> _DESERIALIZER
Json deserializer forTasksRecord
-
-
Method Detail
-
of
public static TasksRecord of(java.util.function.Function<TasksRecord.Builder,ObjectBuilder<TasksRecord>> fn)
-
id
@Nullable public final java.lang.String id()
id of the task with the nodeAPI name:
id
-
action
@Nullable public final java.lang.String action()
task actionAPI name:
action
-
taskId
@Nullable public final java.lang.String taskId()
unique task idAPI name:
task_id
-
parentTaskId
@Nullable public final java.lang.String parentTaskId()
parent task idAPI name:
parent_task_id
-
type
@Nullable public final java.lang.String type()
task typeAPI name:
type
-
startTime
@Nullable public final java.lang.String startTime()
start time in msAPI name:
start_time
-
timestamp
@Nullable public final java.lang.String timestamp()
start time in HH:MM:SSAPI name:
timestamp
-
runningTimeNs
@Nullable public final java.lang.String runningTimeNs()
running time nsAPI name:
running_time_ns
-
runningTime
@Nullable public final java.lang.String runningTime()
running timeAPI name:
running_time
-
nodeId
@Nullable public final java.lang.String nodeId()
unique node idAPI name:
node_id
-
ip
@Nullable public final java.lang.String ip()
ip addressAPI name:
ip
-
port
@Nullable public final java.lang.String port()
bound transport portAPI name:
port
-
node
@Nullable public final java.lang.String node()
node nameAPI name:
node
-
version
@Nullable public final java.lang.String version()
es versionAPI name:
version
-
xOpaqueId
@Nullable public final java.lang.String xOpaqueId()
X-Opaque-ID headerAPI name:
x_opaque_id
-
description
@Nullable public final java.lang.String description()
task actionAPI name:
description
-
serialize
public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
-
setupTasksRecordDeserializer
protected static void setupTasksRecordDeserializer(ObjectDeserializer<TasksRecord.Builder> op)
-
-