Class TaskFailure
java.lang.Object
co.elastic.clients.elasticsearch._types.TaskFailure
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public class TaskFailure extends java.lang.Object implements JsonpSerializable
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTaskFailure.BuilderBuilder forTaskFailure. -
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<TaskFailure>_DESERIALIZERJson deserializer forTaskFailure -
Method Summary
Modifier and Type Method Description java.lang.StringnodeId()Required - API name:node_idstatic TaskFailureof(java.util.function.Function<TaskFailure.Builder,ObjectBuilder<TaskFailure>> fn)ErrorCausereason()Required - API name:reasonvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupTaskFailureDeserializer(ObjectDeserializer<TaskFailure.Builder> op)java.lang.Stringstatus()Required - API name:statuslongtaskId()Required - API name:task_idMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forTaskFailure
-
-
Method Details
-
of
public static TaskFailure of(java.util.function.Function<TaskFailure.Builder,ObjectBuilder<TaskFailure>> fn) -
taskId
public final long taskId()Required - API name:task_id -
nodeId
public final java.lang.String nodeId()Required - API name:node_id -
status
public final java.lang.String status()Required - API name:status -
reason
Required - API name:reason -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupTaskFailureDeserializer
-