Class MainError
java.lang.Object
co.elastic.clients.elasticsearch._types.ErrorCause
co.elastic.clients.elasticsearch._types.MainError
- All Implemented Interfaces:
JsonpSerializable
@JsonpDeserializable public final class MainError extends ErrorCause
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MainError.Builder
Builder forMainError
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.ErrorCause
ErrorCause.AbstractBuilder<BuilderT extends ErrorCause.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<MainError>
_DESERIALIZER
Json deserializer forMainError
-
Constructor Summary
Constructors Constructor Description MainError(MainError.Builder builder)
MainError(java.util.function.Function<MainError.Builder,MainError.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>
headers()
API name:headers
protected void
serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
protected static void
setupMainErrorDeserializer(DelegatingDeserializer<MainError.Builder> op)
Methods inherited from class co.elastic.clients.elasticsearch._types.ErrorCause
bytesLimit, bytesWanted, causedBy, col, column, failedShards, grouped, header, index, indexUuid, lang, language, licensedExpiredFeature, line, maxBuckets, phase, position, processorType, propertyName, reason, resourceId, resourceType, rootCause, script, scriptStack, serialize, setupErrorCauseDeserializer, shard, stackTrace, type
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forMainError
-
-
Constructor Details
-
MainError
-
MainError
-
-
Method Details
-
headers
@Nullable public java.util.Map<java.lang.String,java.lang.String> headers()API name:headers
-
serializeInternal
- Overrides:
serializeInternal
in classErrorCause
-
setupMainErrorDeserializer
-