Class TaskInfo
java.lang.Object
co.elastic.clients.elasticsearch.tasks.TaskInfo
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
ParentTaskInfo
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<TaskInfo>
Json deserializer forTaskInfo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
action()
Required - API name:action
final boolean
Required - API name:cancellable
final Boolean
API name:cancelled
final String
API name:description
headers()
Required - API name:headers
final long
id()
Required - API name:id
final String
node()
Required - API name:node
final String
API name:parent_task_id
final Time
API name:running_time
final long
Required - API name:running_time_in_nanos
void
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 <BuilderT extends TaskInfo.AbstractBuilder<BuilderT>>
voidsetupTaskInfoDeserializer
(ObjectDeserializer<BuilderT> op) final long
Required - API name:start_time_in_millis
final JsonData
status()
Task status information can vary wildly from task to task.static TaskInfo
toString()
final String
type()
Required - API name:type
-
Field Details
-
_DESERIALIZER
Json deserializer forTaskInfo
-
-
Constructor Details
-
TaskInfo
-
-
Method Details
-
taskInfoOf
-
action
Required - API name:action
-
cancelled
API name:cancelled
-
cancellable
public final boolean cancellable()Required - API name:cancellable
-
description
API name:description
-
headers
Required - API name:headers
-
id
public final long id()Required - API name:id
-
node
Required - API name:node
-
runningTime
API name:running_time
-
runningTimeInNanos
public final long runningTimeInNanos()Required - API name:running_time_in_nanos
-
startTimeInMillis
public final long startTimeInMillis()Required - API name:start_time_in_millis
-
status
Task status information can vary wildly from task to task.API name:
status
-
type
Required - API name:type
-
parentTaskId
API name:parent_task_id
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupTaskInfoDeserializer
protected static <BuilderT extends TaskInfo.AbstractBuilder<BuilderT>> void setupTaskInfoDeserializer(ObjectDeserializer<BuilderT> op)
-