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 classTasksRecord.BuilderBuilder forTasksRecord. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TasksRecord>_DESERIALIZERJson 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.Stringaction()task actionjava.lang.Stringdescription()task actionjava.lang.Stringid()id of the task with the nodejava.lang.Stringip()ip addressjava.lang.Stringnode()node namejava.lang.StringnodeId()unique node idjava.lang.StringparentTaskId()parent task idjava.lang.Stringport()bound transport portjava.lang.StringrunningTime()running timejava.lang.StringrunningTimeNs()running time nsvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTasksRecordDeserializer(DelegatingDeserializer<TasksRecord.Builder> op)java.lang.StringstartTime()start time in msjava.lang.StringtaskId()unique task idjava.lang.Stringtimestamp()start time in HH:MM:SSjava.lang.Stringtype()task typejava.lang.Stringversion()es versionjava.lang.StringxOpaqueId()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:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTasksRecordDeserializer
-