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 classMainError.BuilderBuilder 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>_DESERIALIZERJson 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:headersprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)protected static voidsetupMainErrorDeserializer(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, typeMethods 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:
serializeInternalin classErrorCause
-
setupMainErrorDeserializer
-