Class TasksRecord
java.lang.Object
co.elastic.clients.elasticsearch.cat.tasks.TasksRecord
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class TasksRecord extends java.lang.Object implements JsonpSerializable
-
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
-
Constructor Summary
Constructors Constructor Description TasksRecord(TasksRecord.Builder builder)
TasksRecord(java.util.function.Function<TasksRecord.Builder,TasksRecord.Builder> fn)
-
Method Summary
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 idjava.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(DelegatingDeserializer<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 headerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTasksRecord
-
-
Constructor Details
-
TasksRecord
-
TasksRecord
-
-
Method Details
-
id
@Nullable public java.lang.String id()id of the task with the nodeAPI name:
id
-
action
@Nullable public java.lang.String action()task actionAPI name:
action
-
taskId
@Nullable public java.lang.String taskId()unique task idAPI name:
task_id
-
parentTaskId
@Nullable public java.lang.String parentTaskId()parent task idAPI name:
parent_task_id
-
type
@Nullable public java.lang.String type()task typeAPI name:
type
-
startTime
@Nullable public java.lang.String startTime()start time in msAPI name:
start_time
-
timestamp
@Nullable public java.lang.String timestamp()start time in HH:MM:SSAPI name:
timestamp
-
runningTimeNs
@Nullable public java.lang.String runningTimeNs()running time nsAPI name:
running_time_ns
-
runningTime
@Nullable public java.lang.String runningTime()running timeAPI name:
running_time
-
nodeId
@Nullable public java.lang.String nodeId()unique node idAPI name:
node_id
-
ip
@Nullable public java.lang.String ip()ip addressAPI name:
ip
-
port
@Nullable public java.lang.String port()bound transport portAPI name:
port
-
node
@Nullable public java.lang.String node()node nameAPI name:
node
-
version
@Nullable public java.lang.String version()es versionAPI name:
version
-
xOpaqueId
@Nullable public java.lang.String xOpaqueId()X-Opaque-ID headerAPI name:
x_opaque_id
-
description
@Nullable public java.lang.String description()task actionAPI name:
description
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupTasksRecordDeserializer
-